Limit the number of directives allowed in a GraphQL query.
npm install @escape.tech/graphql-armor-max-directivesLimit the number of directives in a GraphQL document.
It is used to prevent DOS attack, heap overflow or server overloading.
This plugin is bundled within GraphQL Armor, so you don't need to install it separately.
However, for a standalone usage, you can install it with:
``bashnpm
npm install @escape.tech/graphql-armor-max-directives
https://escape.tech/graphql-armor/docs/plugins/max-directives