Mesh Specs https://specs.graphql-mesh.dev

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.

Example @link usage
extend schema
  @link(
    url: "https://specs.graphql-mesh.dev/rate-limit/v0.1"
    import: ["@rateLimit"]
  )

2Directives

2.1@rateLimit

directive @rateLimit(
  max: Int
  window: String
  message: String
  identityArgs: [String]
  arrayLengthField: String
) on FIELD_DEFINITION

2.1.1max: Int

2.1.2window: String

2.1.3message: String

2.1.4identityArgs: [String]

2.1.5arrayLengthField: String