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

Fix duplicate type generation #2742

Merged
merged 1 commit into from
Dec 14, 2020
Merged

Fix duplicate type generation #2742

merged 1 commit into from
Dec 14, 2020

Conversation

raphael
Copy link
Member

@raphael raphael commented Dec 13, 2020

When design mixes implicit and explicit views in result definitions.
Each method needs its own result type to generate proper view rendering
code based on the Meta attribute for explicit views but the types
themselves only need to be generated once as they define all the fields.

Fix #2723

When design mixes implicit and explicit views in result definitions.
Each method needs its own result type to generate proper view rendering
code based on the Meta attribute for explicit views but the types
themselves only need to be generated once as they define all the fields.
@raphael raphael merged commit e77c161 into v3 Dec 14, 2020
@raphael raphael deleted the fix_mix_explicit_implicit_views branch December 14, 2020 00:57
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.

ResultType redeclared in generated files if used more than once as Method -> Result using different views
1 participant