Skip to content

Conversation

@huanghui1998hhh
Copy link
Contributor

@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
Contributor Author

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

@huanghui1998hhh
Copy link
Contributor Author

@kevmoo Request for review

@huanghui1998hhh
Copy link
Contributor 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.

@huanghui1998hhh huanghui1998hhh requested a review from kevmoo July 18, 2025 02:42
@kevmoo
Copy link
Collaborator

kevmoo commented Jul 24, 2025

failing tests?

Copy link
Collaborator

@kevmoo kevmoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need changelog entries for both packages, too.

@huanghui1998hhh
Copy link
Contributor Author

@kevmoo
There are some additional warnings that cause the test to fail

W SDK language version 3.10.0 is newer than analyzer language version 3.9.0. Run dart pub upgrade.

This dosen't seems to be caused by my commit. Should I modify annotation_version_test?

@huanghui1998hhh huanghui1998hhh requested a review from kevmoo July 24, 2025 07:53
huanghui1998hhh and others added 3 commits July 25, 2025 10:14
@huanghui1998hhh
Copy link
Contributor Author

@kevmoo There are some additional warnings that cause the test to fail

W SDK language version 3.10.0 is newer than analyzer language version 3.9.0. Run dart pub upgrade.

This dosen't seems to be caused by my commit. Should I modify annotation_version_test?

@kevmoo I need some help. We need to bump analyzer to 8.0.0 to pass the tests, but there are many version conflicts. Many packages have not yet adapted to analyzer 8.0.0.

@huanghui1998hhh huanghui1998hhh requested a review from kevmoo August 1, 2025 05:45
@huanghui1998hhh
Copy link
Contributor Author

@kevmoo Plz take a look when you have a moment.

@@ -1,6 +1,7 @@
## 4.9.1-wip
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do the follow-up here. We should bump this to 4.10 since we're adding a feature.

@kevmoo kevmoo merged commit 4298f97 into google:master Aug 7, 2025
18 checks passed
@NonymousMorlock
Copy link

When will this go live on the pub?

vkorencik pushed a commit to TypeSoft-Ltd/json_serializable.dart that referenced this pull request Sep 11, 2025
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.

3 participants