Skip to content
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.

Remove the @connection directive before the query is sent to the server #37

Open
juhaelee opened this issue Jul 25, 2017 · 2 comments · May be fixed by #61
Open

Remove the @connection directive before the query is sent to the server #37

juhaelee opened this issue Jul 25, 2017 · 2 comments · May be fixed by #61

Comments

@juhaelee
Copy link

Using persisted queries throws and error when using the @connection directive. See apollographql/apollo-client#1801 (comment)

@Poincare
Copy link
Contributor

This makes sense. Should be a pretty easy fix if anyone wants to contribute. Likely have to add some preprocessing code here.

@leosurwiki leosurwiki linked a pull request Apr 1, 2018 that will close this issue
@leosurwiki
Copy link

@Poincare I added a transform which removes @connection directives in https://github.com/apollographql/persistgraphql/pull/61/files .
Could you take a look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants