graphql-platform icon indicating copy to clipboard operation
graphql-platform copied to clipboard

Can I know if there is feature to disable the GraphQL batching in hot chocolate?

Open muralimaddu opened this issue 3 years ago • 1 comments

Is your feature request related to a problem?

It is recommended that the application disables batching if it is not used. For more information, see the following link, https://lab.wallarm.com/graphql-batching-attack

The solution you'd like

To have something extends IRequestExecutionBuilder that can be configred while startup if there is any alternate available.

Product

Hot Chocolate

muralimaddu avatar May 12 '22 14:05 muralimaddu

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 09 '22 15:09 stale[bot]

If I'm not mistaken, batching is now disabled by default (in v13).

@michaelstaib Should this issue be closed?

glen-84 avatar May 22 '23 14:05 glen-84

There are kinds of Batching ... this means alias batching ... but removing aliases is removing a spec feature also this is not really a good solution ... better is to use our build in query complexity or to just use persisted queries. Closing this issue.

michaelstaib avatar Oct 12 '23 08:10 michaelstaib