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

Add flattened type support to Go code generator #1302

Merged
merged 3 commits into from
Mar 22, 2021

Conversation

ebeahan
Copy link
Member

@ebeahan ebeahan commented Mar 16, 2021

Separating implementation of flattened type into the go code generator from #1254. I believe flattened should be a more straight-forward change.

Opted to use string since flattened fields do not support defining sub-fields like other object types, such as object or nested.

@andrewkroh
Copy link
Member

Opted to use string since flattened fields do not support defining sub-fields like other object types

Flattened is an object type with different indexing behavior. So I would add it to the case: "object".

@ebeahan
Copy link
Member Author

ebeahan commented Mar 19, 2021

So I would add it to the case: "object".

Thanks, done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants