Closed ma-petrovic closed 4 years ago
Additionally, adding a second fragment
below causes the same error, i.e.:
query users {
users {
...CompleteUser
}
}
# ...
fragment CompleteUser on User {
id
name
lastname
}
fragment NjamBase on Njam {
id
location
time
ordered
}
@ma-petrovic if this is still an issue in 0.3.1, can you open a ticket in graphql/graphiql
repo? thank you!
Actual Behavior
Even though
Go to definition
works, this happens when attempting toExecute Query
which uses afragment
First scenario
Results in
Error: Network error: Response not successful: Received status code 400
Second scenario
Results in a blank result with the following log
Third scenario
Results in a successful response
Expected Behavior
Query executes successfully and returns the according data
Steps to Reproduce the Problem Or Description
cd js-meetup
npm install
npm run start:api
app/src/apollo/queries/index.graphql
, line 1, column 1Execute Query
above the following querySpecifications
Logs Of TS Server || GraphQL Language Service