graphql-no-alias
JSON →GraphQL directive and validation library to limit alias fields on queries and mutations, preventing batch attacks. Current stable version is 3.0.3, actively maintained with regular releases. It provides a @noAlias directive that can be applied to GraphQL types or fields, with customizable alias limits. Key differentiators: supports both schema directive and imperative configuration, includes error message customization, and offers an optional Envelop plugin for integration with Envelop-based servers. Requires graphql ^16.2.0.
Resources
packagegraphql-no-alias ↗