You are here

public property GraphQLAnnotationBase::$response_cache_contexts in GraphQL 8.3

The cache contexts for caching the response.

Type: array

File

src/Annotation/GraphQLAnnotationBase.php, line 77

Class

GraphQLAnnotationBase
Annotation for GraphQL input type plugins.

Namespace

Drupal\graphql\Annotation

Code

public $response_cache_contexts = [
  'user.permissions',
];