-
Notifications
You must be signed in to change notification settings - Fork 2.8k
allow custom mutations through actions #3042
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Deploy preview for hasura-docs ready! Built with commit 8323c30 |
|
Review app for commit a786aed deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit af6139e deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit 5d58513 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit 4bc8106 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit c86dcc4 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit ea0f8f7 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit a40b68e deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit c33372a deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit a0771e0 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Thank your for great effort out there. This looks awesome. |
|
Review app for commit a3e2805 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit 06b35e6 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
…-hs lib git reference
|
Review app for commit c96dd6e deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
Resolve Conflicts: server/src-lib/Hasura/SQL/Types.hs
|
Review app for commit 2e92e3a deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit 20e23a1 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit e32545e deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
Resolve Conflicts: server/src-lib/Hasura/GraphQL/Resolve/Insert.hs server/src-lib/Hasura/GraphQL/Resolve/Mutation.hs server/src-lib/Hasura/RQL/DML/Insert.hs server/src-lib/Hasura/RQL/DML/Update.hs server/src-lib/Hasura/RQL/Types/SchemaCache.hs
|
Review app for commit 9222cae deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit 8a07237 deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app for commit 12dc26e deployed to Heroku: https://hge-ci-pull-3042.herokuapp.com |
|
Review app https://hge-ci-pull-3042.herokuapp.com is deleted |
Needs hasura/graphql-parser-hs#19 to be merged
I'll be pushing changes to this PR over the next couple of days. A high level overview of actions can be found in this PR's docs.
Updated: 23/10/2019
Tasks done:
Remaining:
update_action:-The webhook is called over
POST. The payload looks like:-{ "session_variables": { "x-hasura-user-id": "1234" }, "input": { "arg1": "value1", "arg2": "value2" }, "action": { "name": "action-name" } }The webhook response:
2xxcode with JSON body whose value is of the defined output type4xxcode for an error that should be propagated back to the client. The response JSON body is an object with a compulsorymessagefield (text) and optionalcodefield (text)internalinerrorfield and part of extensions in response for the admin role.Single row mutations:- Implemented the RFC #3731