mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
a21f6cd648
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. |
||
---|---|---|
.. | ||
go | ||
nodejs6 | ||
nodejs8 | ||
python | ||
README.md |
Boilerplates for AWS Lambda serverless functions and Hasura GraphQL Engine's Event Triggers
Sample cloud functions that can be triggered on changes in the database using GraphQL Engine's Event Triggers.
These are organized in language-specific folders.
NOTE Some of the language/platforms are work in progress. We welcome contributions for the WIP langauages. See issues and the following checklist:
Folder name | Use-case | Node.js(6) | Python | Java | Go | C# |
---|---|---|---|---|---|---|
echo | echo the trigger payload | ✅ | ✅ | ❌ | ✅ | ❌ |
mutation | insert related data on an insert event using graphql mutation | ✅ | ✅ | ❌ | ✅ | ❌ |
push-notification | send push notification on database event | ❌ | ❌ | ❌ | ❌ | ❌ |
etl | transform the trigger payload and update an algolia index | ❌ | ❌ | ❌ | ❌ | ❌ |
Pre-requisites
- AWS account with billing enabled
- Hasura GraphQL Engine