API Reference Apq v2.0.0

Modules

Apq

Support for Automatic Persisted Queries in Absinthe. Query documents in GraphQL can be be of a significant size. Especially on mobile it may be beneficial to limit the size of the queries so fewer bytes go across the network. APQ uses a deterministic hash of the input query in a request. If the server does not know the hash the client can retry the request with the expanded query. The server can use this request to store the query in its cache.

Behaviour that the apq cache needs to conform to.

Apq document provider or Absinthe plug.

When document is found in the cache it will skip to the Context phase, passing by parsing/validation steps

Behaviour to customize how Apq interacts with Absinthe pipeline

Caching strategy that will cache the blueprint with validations having run.

Caching strategy that will cache the raw string query