-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
graphql-tag support for GraphQL Client #1237
Labels
Comments
jordanranz
added
feature-request
Request a new feature
GraphQL
Related to GraphQL API issues
labels
Jul 13, 2018
You can do the following for now:
|
manueliglesias
added a commit
to manueliglesias/aws-amplify
that referenced
this issue
Dec 1, 2018
ghost
added
the
review
label
Dec 1, 2018
ghost
removed
the
review
label
Dec 3, 2018
This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs. Looking for a help forum? We recommend joining the Amplify Community Discord server |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[Current behavior]
Queries are used as bare strings as shown in official documentation. It just works fine:
For query declarations, when I want to use graphql-tag as follows:
It breaks down with the error in Developer Console of a browser:
[Requested behavior]
It would be great if
graphql-tag
is supported to be used as a query inAPI.graphql(graphqlOperation(...));
The text was updated successfully, but these errors were encountered: