Skip to content

Conversation

@jorgerangel-msft
Copy link
Contributor

@jorgerangel-msft jorgerangel-msft commented Nov 4, 2025

fixes: #8926

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2025

No changes needing a change description found.

@jorgerangel-msft jorgerangel-msft marked this pull request as ready for review November 4, 2025 20:58
@azure-sdk
Copy link
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@jorgerangel-msft jorgerangel-msft marked this pull request as draft November 4, 2025 21:19
@jorgerangel-msft jorgerangel-msft force-pushed the fix-base-dynamicmodel branch 3 times, most recently from bf2840b to 33e4b90 Compare November 5, 2025 20:51
@jorgerangel-msft jorgerangel-msft changed the title fix: implicitly mark base model types as dynamic fix: implicitly mark discriminated model types as dynamic Nov 5, 2025
}
//base.JsonModelWriteCore(writer, options);
#pragma warning disable SCME0001 // Type is for evaluation purposes only and is subject to change or removal in future updates.
if (Optional.IsDefined(Name) && !Patch.Contains("$.name"u8))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this needs to be generated

id = prop.Value.GetString();
continue;
}
patch.Set([.. "$."u8, .. Encoding.UTF8.GetBytes(prop.Name)], prop.Value.GetUtf8Bytes());
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this needs to be generated

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.

[http-client-csharp] Adding base type to dynamic model leads to compilation errors

3 participants