-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Server: add URL templating for event triggers and remote schemas #5760
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
Server: add URL templating for event triggers and remote schemas #5760
Conversation
|
Deploy preview for hasura-docs ready! Built with commit 65f66e1 |
jberryman
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.
LGTM! Just a couple suggestions you can take at your discretion
| case urlTemplate of | ||
| Left e -> Left $ "Parsing URL template failed: " <> T.pack e | ||
| Right v -> Right $ InputWebhook v |
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.
| case urlTemplate of | |
| Left e -> Left $ "Parsing URL template failed: " <> T.pack e | |
| Right v -> Right $ InputWebhook v | |
| bimap (\e-> "Parsing URL template failed: " <> T.pack e) InputWebhook urlTemplate |
only if you want. You'll need to import Data.Bifunctor probably.
Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
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
…ura#5760) * add url templating for event triggers Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
…ura#5760) * add url templating for event triggers Co-authored-by: Brandon Simmons <brandon.m.simmons@gmail.com>
Add action-like URL templating for event triggers and remote schemas
fixes #2483
Description
Changelog
CHANGELOG.mdis updated with user-facing content relevant to this PR. If no changelog is required, then add theno-changelog-requiredlabel.Affected components
Related Issues
Solution and Design
Steps to test and verify
Limitations, known bugs & workarounds
Server checklist
Catalog upgrade
Does this PR change Hasura Catalog version?
Metadata
Does this PR add a new Metadata feature?
run_sqlauto manages the new metadata through schema diffing?run_sqlauto manages the definitions of metadata on renaming?export_metadata/replace_metadatasupports the new metadata added?GraphQL
Breaking changes
No Breaking changes
There are breaking changes:
Metadata API
Existing
querytypes:argspayload which is not backward compatibleJSONschemaGraphQL API
Schema Generation:
NamedTypeSchema Resolve:-
nullvalue for any input fieldsLogging
JSONschema has changedtypenames have changed