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 support for polymorphic has_one to eager loading #11203

Closed
4 tasks done
beerbohmdo opened this issue Apr 19, 2024 · 1 comment
Closed
4 tasks done

Add support for polymorphic has_one to eager loading #11203

beerbohmdo opened this issue Apr 19, 2024 · 1 comment

Comments

@beerbohmdo
Copy link
Contributor

beerbohmdo commented Apr 19, 2024

Description

Polymorphic has_one relations are currently not supported by eager-loading it just throws an error that DataObject is not a valid data class.

Additional context or points of discussion

No response

Validations

  • You intend to implement the feature yourself
  • You have read the contributing guide
  • You strongly believe this feature should be in core, rather than being its own community module
  • You have checked for existing issues or pull requests related to this feature (and didn't find any)

PRs

@GuySartorelli
Copy link
Member

PR merged. This will be automatically tagged by GitHub actions

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

No branches or pull requests

2 participants