Problem when not calling directly graphql endpoint
#680 opened on Jun 25, 2018
Repository metrics
- Stars
- (1,427 stars)
- PR merge metrics
- (PR metrics pending)
Description
Expected Behavior I have installed graphql plugin in neo4j and in the middle i have setup an expressjs server as a proxy so i can implement ACL. When i call from angular the expressjs server i dont get what i am supposed to:
I call this: query Accounts{ Account{ username } } and expect this: { "data": { "Account": [ { "username": "Fatjon" }, { "username": "saideballa" } ] }, "extensions": { "type": "READ_ONLY" } }
Actual Behavior Instead i get this error from angular even though i get status 200 and the data from the network monitoring in the browser: Error: Network error: Error writing result to store for query: query Accounts { Account { username __typename } }
result is undefined
A simple reproduction
Issue Labels
- has-reproduction
- feature
- docs
- blocking
- good first issue