Skip to content

fix: Don't overwrite serialization name if it is already set#6624

Merged
baywet merged 4 commits intomicrosoft:mainfrom
ricardoboss:issues/6444-incorrect-serialization-name
Jun 9, 2025
Merged

fix: Don't overwrite serialization name if it is already set#6624
baywet merged 4 commits intomicrosoft:mainfrom
ricardoboss:issues/6444-incorrect-serialization-name

Conversation

@ricardoboss
Copy link
Contributor

Fixes #6444.

This fixes an oversight I accidentially introduced in #6393.

I adjusted the serialization name so it is correctly preserved in its original casing, but I forgot to check if it was already explicitly set.

@ricardoboss ricardoboss requested a review from a team as a code owner June 5, 2025 20:29
Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution!

Can you add a changelog entry please? (unreleased, changed)

Copy link
Member

@baywet baywet left a comment

Choose a reason for hiding this comment

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

Thank you for making the changes!

@baywet baywet enabled auto-merge June 5, 2025 21:30
@baywet baywet merged commit 34d6ccd into microsoft:main Jun 9, 2025
290 checks passed
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.

Dart serialization uses incorrect property names

2 participants