You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# user object typefield:posts, !types[!PostType]dopreload:postsend# is the same asfield:posts, !types[!PostType],preload: :posts
It would be cool to be able to do a simple preload: true as an option, and it would resolve to the field's name:
field:posts, !types[!PostType],preload: true# would resolve tofield:posts, !types[!PostType],preload: :posts
So you would need to give an explicit argument if the relation name does not match the field's name or if you want more than a single relation preload.
What do you think? I could try to add this feature if I am not the only one finding it relevant.
The text was updated successfully, but these errors were encountered:
I forgot to work on this... I still consider doing it, but I won't be able to do so until few weeks... Don't hesitate to take over this project if you want it ready sooner.
I was playing with this gem and found out that:
It would be cool to be able to do a simple
preload: true
as an option, and it would resolve to the field's name:So you would need to give an explicit argument if the relation name does not match the field's name or if you want more than a single relation preload.
What do you think? I could try to add this feature if I am not the only one finding it relevant.
The text was updated successfully, but these errors were encountered: