Skip to content

Is it possible for a custom Element Type to eager load Records instead of Elements? #12171

Answered by brandonkelly
joshuapease asked this question in Q&A
Discussion options

You must be logged in to vote

The built-in element eager-loading support is limited to elements and we don’t have any plans to change that. You’ll have to do something similar to Commerce orders, as you’ve found.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants