Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): serialize duration as strings #5630

Merged
merged 1 commit into from
Oct 28, 2024

Commits on Oct 28, 2024

  1. fix(core): serialize duration as strings

    Fixes #5615
    
    Since Jackson 2.10, to serialize duration as string we need to switch WRITE_DURATIONS_AS_TIMESTAMPS off as it no longuer use WRITE_DATES_AS_TIMESTAMPS.
    I tested and an old flow with a duration as timestamp is still readable so this is a backward compatible change.
    
    But for the State duration, we still need to serialize it as a number as the database expect a number
    loicmathieu committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    63d70ac View commit details
    Browse the repository at this point in the history