apollo-client: apollo-client-preset 1.0.7 breaks @client directive in apollo-link-state

Intended outcome: Upgrading apollo-client-preset from 1.0.6 to1.0.7 should not break custom directive @client in apollo-link-state.

Actual outcome: @client directive in apollo-link-state no longer works. The might be due to recent addition of custom directive feature in apollo-cache-inmemory@1.1.6

How to reproduce the issue:

  1. Install apollo-link-state@^0.3.1 along with apollo-client-preset@^1.0.6 and implement local client query using @client directive.

  2. Upgrade to apollo-client-preset@^1.0.7@client directives no longer works.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 16 (2 by maintainers)

Most upvoted comments

Thanks for reporting this! Hoping to get a fix out as soon as possible 😃