-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Implement JsonStringEnumConverter<TEnum> #87224
Implement JsonStringEnumConverter<TEnum> #87224
Conversation
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis |
663b350
to
3154988
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work here @eiriktsarpalis!
…assed invalid inputs.
…rce generator warning. InteractionType is used in a JsonSerializerContext. With dotnet/runtime#87224, there is now a warning to convert source generated usages of JsonStringEnumConverter to JsonStringEnumConverter<TEnum>. I went ahead and updated the other 2 usages as well, to make them consistent.
[main] Update dependencies from dotnet/efcore dotnet/runtime - Fix Http Results test to respond to dotnet/runtime#87093 - Convert to new generic JsonStringEnumConverter<TEnum> to fix JSON source generator warning. InteractionType is used in a JsonSerializerContext. With dotnet/runtime#87224, there is now a warning to convert source generated usages of JsonStringEnumConverter to JsonStringEnumConverter<TEnum>. I went ahead and updated the other 2 usages as well, to make them consistent. - Skip AcceptAsync_NoCertificateCallback_RemovedFromPendingConnections See #48678
Supersedes #87149. Fixes #79311.