absinthe-graphql / dataloader

DataLoader for Elixir
MIT License
485 stars 99 forks source link

Safe distinct #141

Closed cspeper closed 2 years ago

cspeper commented 2 years ago

Only add a distinct to a query if it does not already have one to avoid:

%Ecto.Query.CompileError{message: "only one distinct expression is allowed in query"