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: use TypeTraverser to handle Union and Intersection types in ModelRelationsExtension #1187

Merged
merged 2 commits into from
Mar 18, 2022

Conversation

canvural
Copy link
Collaborator

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Fixes #1181

Changes

This PR refactors ModelRelationsExtension to use TypeTraverser to handle Union and Intersection types.

Breaking changes
none

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.

Unable to use union return type in relation definition
1 participant