1
0
Fork 0
mirror of synced 2024-06-30 04:00:34 +12:00

Fixed TODO list

This commit is contained in:
Eldad Fux 2021-01-17 08:36:11 +02:00
parent 1349a1a8b5
commit b7674e3278

View file

@ -11,9 +11,10 @@ use Utopia\App;
* 1. Map all objects, object-params, object-fields
* 2. Parse GraphQL request payload (use: https://github.com/webonyx/graphql-php)
* 3. Route request to relevant controllers (of REST API?) / resolvers and aggergate data
* 4. Handle errors if any
* 5. Returen JSON response
* 6. Write tests!
* 4. Handle scope authentication
* 5. Handle errors
* 6. Return response
* 7. Write tests!
*
* Demo
* curl -H "Content-Type: application/json" http://localhost/v1/graphql -d '{"query": "query { echo(message: \"Hello World\") }" }'