Skip to content

Unmarshal AdditionalProperties into a *map instead of a map#326

Closed
alehed wants to merge 0 commit intooapi-codegen:masterfrom
alehed:master
Closed

Unmarshal AdditionalProperties into a *map instead of a map#326
alehed wants to merge 0 commit intooapi-codegen:masterfrom
alehed:master

Conversation

@alehed
Copy link
Copy Markdown

@alehed alehed commented Mar 26, 2021

This allows us to distinguish between null and {}.

An example of how these changes work can be found in this go playground.

This solves #324.

@alehed
Copy link
Copy Markdown
Author

alehed commented Mar 26, 2021

The CI failure seems to be because it changes the generated code.

Since I think that the generated code needs changes, I guess this should be ok.

@deepmap-marcinr deepmap-marcinr added the ☢️ breaking change This change would break existing users' code label Apr 1, 2021
@alehed
Copy link
Copy Markdown
Author

alehed commented Sep 9, 2021

Should this pr be based on v2 instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

☢️ breaking change This change would break existing users' code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants