Skip to content

Allow @JsonKey to be used on constructor parameters #1505

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

huanghui1998hhh
Copy link

@huanghui1998hhh huanghui1998hhh commented Jul 1, 2025

About #1437

Allow @JsonKey to be used on constructor parameters, where the @JsonKey properties will override the corresponding field properties.

@huanghui1998hhh
Copy link
Author

I noticed that the current master branch has WIP commits, so I didn't update the CHANGELOG.md.

@huanghui1998hhh
Copy link
Author

@kevmoo Request for review

@huanghui1998hhh
Copy link
Author

@kevmoo I can run workflow successfully in my forked repo.
https://github.com/huanghui1998hhh/json_serializable.dart.official/actions/runs/16040656161
Please take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant