You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 20, 2020. It is now read-only.
I’m getting an error I’m not sure how to start debugging when trying to run persistgraphql on gql-tagged queries in a project:
$ persistgraphql src/client/containers/Test.js --add_typename
Using the add-typename query transformer.
(node:26286) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): GraphQLError: Syntax Error GraphQL (1:1) Unexpected <EOF>
1:
^
(node:26286) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
I stripped down the file to make sure it wasn’t something else in my code:
import{gql}from'react-apollo';constQueryOne=gql` query TestQuery($id: String) { test(id: $id) { id name } }`;exportdefault{
QueryOne,};
After looking through the tests, I believe this should work, so I’m not sure how or where this is failing. If this is a bug and not an issue with how I'm using it, I'm happy to contribute — just need a pointer to how I might start debugging.
Thanks!
The text was updated successfully, but these errors were encountered:
I’m getting an error I’m not sure how to start debugging when trying to run
persistgraphql
ongql
-tagged queries in a project:I stripped down the file to make sure it wasn’t something else in my code:
After looking through the tests, I believe this should work, so I’m not sure how or where this is failing. If this is a bug and not an issue with how I'm using it, I'm happy to contribute — just need a pointer to how I might start debugging.
Thanks!
The text was updated successfully, but these errors were encountered: