-
Notifications
You must be signed in to change notification settings - Fork 2.8k
few actions' fixes and improvements (fix #3977, #4061 & close #4021) #4109
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
|
Review app for commit 01c06bb deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Deploy preview for hasura-docs ready! Built with commit 6e43c59 |
01c06bb to
6e43c59
Compare
|
Review app for commit 6e43c59 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Review app for commit bd28482 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Review app for commit 6394474 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Review app for commit 4384439 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Review app for commit 3671037 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Review app for commit 4118c68 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
marionschleifer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog approved.
|
Review app for commit 3d4c889 deployed to Heroku: https://hge-ci-pull-4109.herokuapp.com |
|
Review app https://hge-ci-pull-4109.herokuapp.com is deleted |
…a#4061 & close hasura#4021) (hasura#4109) * add 'ID' to default scalars for custom types, fix hasura#4061 * preserve cookie headers from sync action webhook, close hasura#4021 * validate action webhook response to conform to output type, fix hasura#3977 * fix tests, don't run actions' tests on PG version < 10 * update CHANGELOG.md * no-op refactor, use types from http-network more Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
Description
#3977 - Validate the JSON response from the webhook handler whether it conforms to the output type of the action
#4021 - Pass down the response headers (
Set-Cookie) from the webhook handler to the client. Applies only for sync actions.#4061 - The default GraphQL scalar
IDisn't included in custom types.Changelog
CHANGELOG.mdis updated with user-facing content relevant to this PR.Affected components
Related Issues
Fix #3977 & #4061, Close #4021
Solution and Design
#3977 - The response of webhook should contain all fields in output whose type is non-nullable and the values shouldn't be
null. See the functionvalidateResponseObjectinHasura.GraphQL.Resolve.Actionmodule.#4021 - Webhook response
Set-Cookieheaders are sent to client.#4061 - Include
IDindefaultScalarsinHasura.RQL.DDL.CustomTypesmodule.Steps to test and verify
Follow the reproduction guides in respective issues.
Limitations, known bugs & workarounds
Server checklist
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
Does this PR add a new Metadata feature?
Breaking changes