-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: improve actions documentation #4743
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
docs: improve actions documentation #4743
Conversation
|
Deploy preview for hasura-docs ready! Built with commit 3282545 |
|
Deploy preview for hasura-docs ready! Built with commit 0c64cf9 |
|
@marionschleifer Could you please add the results of this conversation to the docs? Possibly giving an example how exactly to do the things discussed there about the HMAC on a node/express action handler? If I understand correctly this commit currently only refers to a secret, stored as an env variable and passed to the handler, right? |
tirumaraiselvan
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
|
Review app https://hge-ci-pull-4743.herokuapp.com is deleted |
Description
- Add a new page that explains how to secure actions by adding an action secret as a header- Add a sentence mentioning how Hasura types can be "reused" in action relationships- Add an example section to actions including an example on array relationships from actionsSimplified the above into the current existing pages itself
Changelog
CHANGELOG.mdis updated with user-facing content relevant to this PR.Affected components
Related Issues
#4645
Affected pages:
https://deploy-preview-4743--hasura-docs.netlify.app/graphql/manual/actions/handlers/securing-handler.html
https://deploy-preview-4743--hasura-docs.netlify.app/graphql/manual/actions/reuse-types-actions.html
https://deploy-preview-4743--hasura-docs.netlify.app/graphql/manual/actions/action-examples.html