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 json serializable annotation for ignored field #3631

Merged
merged 1 commit into from
Jan 11, 2024

Commits on Dec 27, 2023

  1. Fix json serializable annotation for ignored field

    The annotation was last changed in
    #3445
    
    The intention of the change was to retain behavior of passing the
    deprecated option `ignore: true`. The replacement is to use two fields
    `includeToJson` and `includeFromJson` which allow more fine-grained
    configuration, but also invert the condition. The boolean must be
    `false` to retain old behavior.
    
    Before this change rerunning code generation would result in a change to
    `build_config.g.gdart`. After this change the build is a no-op.
    natebosch committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    6f22599 View commit details
    Browse the repository at this point in the history