absinthe-graphql / absinthe_plug

Plug support for Absinthe, the GraphQL toolkit for Elixir
https://hex.pm/packages/absinthe_plug
MIT License
260 stars 163 forks source link

Ability to opt out of batched execution on batch requests #259

Open erikosmond opened 3 years ago

erikosmond commented 3 years ago

If a developer wants to preserve context when executing a whole document, there needs to be an option to opt out of batched execution.

https://github.com/absinthe-graphql/absinthe_plug/blob/master/lib/absinthe/plug.ex#L508 https://elixir-lang.slack.com/archives/C0PR49P4P/p1624455107364500