Apollo Link Context
JSON →Utility for setting context on Apollo Client GraphQL operations, enabling async lookups like authentication tokens. Current stable version is 1.0.20, with low release cadence (last update years ago). Part of the apollo-link chain ecosystem, it provides a simple imperative setContext function that returns either an object or a promise, allowing caching and conditional logic based on previous context. Key differentiator: handles asynchronous context preparation natively, unlike static context options.
Resources
packageapollo-link-context ↗
API endpoints
full doc /v1/registry/apollo-link-context