···11+---
22+'@urql/exchange-graphcache': minor
33+---
44+55+Implement **local directives**. It’s now possible to add client-only directives to queries by adding them to the `cacheExchange`’s new `directives` option.
66+Directives accept an object of their arguments and return a resolver. When a field is annotated with
77+a resolver, e.g. `@_optional` or `@_required`, their resolvers from the `directives` config are
88+executed. This means it’s now possible to use `@_relayPagination` for example, by passing adding
99+the `relayPagination` helper to the config.
1010+Due to the change in [#3317](https://github.com/urql-graphql/urql/pull/3317), any directive in
1111+queries that’s prefixed with an underscore (`_`) is only visible to Graphcache and not the API.
1212+1313+See: https://github.com/urql-graphql/urql/pull/3306