specs / rate-limit / v0.1
rate-limit v0.1
Field-level rate limit hints for Hive Gateway rateLimiting.
1Overview
Field-level rate limit hints for Hive Gateway rateLimiting.
https://specs.graphql-mesh.dev/rate-limit/v0.1
ยท raw GraphQL
Stamp: Hand-authored subgraph SDL + Hive Gateway docs @link today (not loader importMeshDirectives). Product family URL is rate-limit/v0.1.
extend schema
@link(
url: "https://specs.graphql-mesh.dev/rate-limit/v0.1"
import: ["@rateLimit"]
)
- Enable rateLimiting in the gateway config so directive annotations are enforced.
2Directives
2.1@rateLimit
directive @rateLimit(
max: Int
window: String
message: String
identityArgs: [String]
arrayLengthField: String
) on FIELD_DEFINITION