-
Notifications
You must be signed in to change notification settings - Fork 141
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
Add support for Metafields to webhooks #5167
base: main
Are you sure you want to change the base?
Conversation
Coverage report
Show files with reduced coverage 🔻
Test suite run success2014 tests passing in 906 suites. Report generated by 🧪jest coverage report action from eea7761 |
d20c9a8
to
4be2a60
Compare
@@ -76,3 +87,10 @@ function validateSubscriptions(webhookConfig: WebhooksConfig) { | |||
} | |||
} | |||
} | |||
|
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.
@shauns I would like to get your early opinion on api version checking like this? I half wanted to add a general "api changes support" where we have a toml (?) file that we define minimum versions for changes and allow checking for that, but this is really the only place that currently needs this sort of support.
Any thoughts are appreciated.
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.
The big picture for module schemas is they move to being only defined in the server -- some modules do this already. Webhook subscriptions clearly doesn't -- so I think keeping this logic self-contained and simple and only found in this one, later removed, place, feels pragmatic.
879335c
to
3caf63e
Compare
3caf63e
to
eea7761
Compare
We detected some changes at packages/*/src and there are no updates in the .changeset. |
WHY are these changes introduced?
Add support for metafield identifiers in declarative webhook subscriptions, allowing apps to obtain metafields in their webhook payloads for their subscriptions. Core support was added here, documentation is added here, this adds cli support.
Applicable CLI support is being added here
WHAT is this pull request doing?
How to test your changes?
Post-release steps
Measuring impact
How do we know this change was effective? Please choose one:
Checklist