Skip to content

Conversation

AnatoliB
Copy link
Collaborator

@AnatoliB AnatoliB commented Jun 3, 2025

No description provided.

JsonSerializerSettings serializerSettings = new JsonSerializerSettings
{
TypeNameHandling = TypeNameHandling.All
TypeNameHandling = TypeNameHandling.Auto
Copy link
Collaborator

Choose a reason for hiding this comment

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

I know this is a draft, but I recommend being very careful with this change. I remember spending a fair bit of time trying to figure out which enum value to provide here, and finding that .All was safest. But the details escape me so take it with a grain of salt.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks, I'm totally not going to proceed with this change, this was just a quick experiment to see which tests will fail and how they will fail.

@AnatoliB AnatoliB closed this Jun 5, 2025
@AnatoliB AnatoliB deleted the anatolib/json-typenamehandling branch June 5, 2025 05:58
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.

2 participants