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

Introduce a new flag to generate the _serializedAdditionalRawData as an internal property #4835

Closed
ArcturusZhang opened this issue Jun 19, 2024 · 0 comments · Fixed by #4836
Assignees
Labels
Non-branding v3 Version 3 of AutoRest C# generator.

Comments

@ArcturusZhang
Copy link
Member

Add a flag, when enabled and MRW is enabled as well, do the following:

  1. Generate _serializedAdditionalRawData field as an internal property
  2. Always serialize the raw data during serialization
  3. When there is normal property colliding with keys in the raw data, we omit the normal property.
  4. Deserialization unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Non-branding v3 Version 3 of AutoRest C# generator.
Projects
None yet
1 participant