You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Currently, the additional properties in a model annotated with [JsonExtensionData] are not being flattened with the model's members when sent through the form.
Expected behavior
The properties set through the additional properties dictionary with [JsonExtensionData] should be flattened with the model's members when sent through the form.
To Reproduce
Steps to reproduce the bug:
Create a model containing a Dictionary<string, object> property.
Annotate the dictionary property with [JsonExtensionData].
Make an API call with both form data and a body that includes an instance of this model.
Send the request to the API server. Notice that, while the body contains the additional properties in a flattened structure, the form data sends the additional properties as a dictionary instead of flattening them.
The text was updated successfully, but these errors were encountered:
Describe the bug
Currently, the additional properties in a model annotated with [JsonExtensionData] are not being flattened with the model's members when sent through the form.
Expected behavior
The properties set through the additional properties dictionary with [JsonExtensionData] should be flattened with the model's members when sent through the form.
To Reproduce
Steps to reproduce the bug:
The text was updated successfully, but these errors were encountered: