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

Always explicitly reference System.Text.Json dependencies #278

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

brantburnett
Copy link
Contributor

Motivation

The source generated JSON serializer is sometimes incorrectly generated with the bug dotnet/runtime#96404 still present. We believe this is because in some environments Yardarm is still using System.Text.Json 8.0.0 to perform source generation.

Modifications

Always explicitly reference the latest System.Text.Json version, rather than only for targets < .NET 8.

Fixes #277

Motivation
----------
The source generated JSON serializer is sometimes incorrectly generated
with the bug dotnet/runtime#96404 still
present. We believe this is because in some environments Yardarm is
still using System.Text.Json 8.0.0 to perform source generation.

Modifications
-------------
Always explicitly reference the latest System.Text.Json version, rather
than only for targets < .NET 8.

Fixes #277
@brantburnett brantburnett marked this pull request as ready for review December 13, 2024 17:38
@brantburnett
Copy link
Contributor Author

/merge

@centeredgebot centeredgebot bot merged commit 53eff99 into release-0.5.x Dec 13, 2024
7 checks passed
@centeredgebot centeredgebot bot deleted the issue277-nullable-not-required branch December 13, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant