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: Include model_rebuild for input types as well #283

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

bombsimon
Copy link
Contributor

Followup from #278 and #276. We added back support to call
model_rebuild when needed for result types but didn't add it for input
types. Since input types can also require model rebuild when containing
nested fields we need to call include_model_rebuild for these types as
well.

Followup from mirumee#278 and mirumee#276. We added back support to call
`model_rebuild` when needed for result types but didn't add it for input
types. Since input types can also require model rebuild when containing
nested fields we need to call `include_model_rebuild` for these types as
well.
@rafalp rafalp self-requested a review March 6, 2024 15:20
Copy link
Contributor

@rafalp rafalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, left few nits.

@rafalp rafalp merged commit c14dd92 into mirumee:main Mar 6, 2024
4 checks passed
@rafalp
Copy link
Contributor

rafalp commented Mar 6, 2024

Merged. Its too late to ship this this week, but I'll push it out early next one.

@bombsimon bombsimon deleted the fix/input-type-model-rebuild branch March 6, 2024 15:54
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.

2 participants