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

Generate view types for embedded user types #3569

Merged
merged 1 commit into from
Aug 1, 2024
Merged

Conversation

raphael
Copy link
Member

@raphael raphael commented Aug 1, 2024

The previous commit was too aggressive and removed user types that are used by result types. These user types need corresponding types in the views package so that result types can be projected. This commit changes the check to be at the root of the type: if a type has no result type attribute recursively then it does not need to have corresponding view types. If a type contains result types then the type and all user type it uses are projected.

The previous commit was too aggressive and removed user types that are used by result types.
These user types need corresponding types in the views package so that result types can be projected.
This commit changes the check to be at the root of the type: if a type has no result type attribute recursively then it does not need to have corresponding view types.
If a type contains result types then the type and all user type it uses are projected.
@raphael raphael merged commit 67882c7 into v3 Aug 1, 2024
9 checks passed
@raphael raphael deleted the fix_view_types_generation branch August 1, 2024 23:56
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.

1 participant