Skip to content

Use TypeNameHandling.None #89

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

Closed
wants to merge 3 commits into from
Closed

Conversation

AnatoliB
Copy link
Collaborator

@AnatoliB AnatoliB commented Jun 3, 2025

No description provided.

@@ -52,7 +52,7 @@ protected override void EndProcessing()
// De-serialize the orchestration context
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