introduce v1/graphql (fix #1368) (#2064)

Changes compared to `/v1alpha1/graphql`

* Changed all graphql responses in **/v1/graphql** endpoint to be 200. All graphql clients expect responses to be HTTP 200. Non-200 responses are considered transport layer errors. 

* Errors in http and websocket layer are now consistent and have similar structure.
This commit is contained in:
Anon Ray
2019-05-10 06:05:11 +00:00
committed by Vamshi Surabhi
parent d942266c59
commit a21f6cd648
283 changed files with 803 additions and 484 deletions

View File

@@ -1,9 +1,9 @@
This app uses environment variables.
```
REACT_APP_GRAPHQL_URL=https://hasura-todo-test.herokuapp.com/v1alpha1/graphql
REACT_APP_GRAPHQL_URL=https://hasura-todo-test.herokuapp.com/v1/graphql
REACT_APP_REALTIME_GRAPHQL_URL=wss://hasura-todo-test.herokuapp.com/v1alpha1/graphql
REACT_APP_REALTIME_GRAPHQL_URL=wss://hasura-todo-test.herokuapp.com/v1/graphql
REACT_APP_CALLBACK_URL=http://localhost:3000/callback