maxAliasesPlugin
Limit the number of aliases allowed in a GraphQL query.
- Weekly downloads
- 259k
- Version
- 2.6.2
- License
- MIT
- Updated
- Jun 16, 2025
@escape.tech/graphql-armor-max-aliases
Limit the number of aliases in a GraphQL document.
It is used to prevent DOS attack or heap overflow.
Installation
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:
# npm
npm install @escape.tech/graphql-armor-max-aliases
# yarn
yarn add @escape.tech/graphql-armor-max-aliases