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
Currently, when resolving via Permit.Ecto.Resolver, it is not possible to use loader as defined in vanilla Permit, because it is fully replaced with base_query and finalize_query.
It would be useful for the developer to be able to use loader in special cases instead of base_query even if Ecto is in play, but there has to be a discussion about what API to use.
It could be rather problematic to allow using both functions, but something that has crossed my mind would be that a resolver could configure a pipeline like this:
Currently, when resolving via
Permit.Ecto.Resolver
, it is not possible to useloader
as defined in vanilla Permit, because it is fully replaced withbase_query
andfinalize_query
.It would be useful for the developer to be able to use
loader
in special cases instead ofbase_query
even if Ecto is in play, but there has to be a discussion about what API to use.It could be rather problematic to allow using both functions, but something that has crossed my mind would be that a resolver could configure a pipeline like this:
The text was updated successfully, but these errors were encountered: