Skip to content

Conversation

@Tofandel
Copy link
Contributor

@Tofandel Tofandel commented Jun 10, 2024

We can eager load attributes using eagerLoadListingRelations([]) in the setUp of the controller, however the Relation column doesn't actually use the loaded relation (and doesn't work with one to one relation) it currently runs a query for each column and each model and the default Text also cannot use it because it does not use dot notation traversal

This PR aims to greatly improve this by only loading the relation once and allowing dot notation in text column to allow to retrieve fields in one to one relations or json

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