-
Notifications
You must be signed in to change notification settings - Fork 149
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
Stop updating the app urls in the app toml when using the app management API #5246
base: main
Are you sure you want to change the base?
Stop updating the app urls in the app toml when using the app management API #5246
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
We detected some changes at packages/*/src and there are no updates in the .changeset. |
b965907
to
6f9b1e8
Compare
8a036b9
to
14732be
Compare
Coverage report
Show files with reduced coverage 🔻
Test suite run success2045 tests passing in 913 suites. Report generated by 🧪jest coverage report action from e75e2d6 |
1662daa
to
3eae494
Compare
14732be
to
5dfd581
Compare
3eae494
to
1e1b0eb
Compare
5dfd581
to
d403209
Compare
/snapit |
🫰✨ Thanks @craigmichaelmartin! Your snapshot has been published to npm. Test the snapshot by intalling your package globally: pnpm i -g @shopify/[email protected]
|
924baa2
to
343f9cf
Compare
@craigmichaelmartin I've fixed the issue you found while tophatting, and in fact I refactored this PR to use a different approach. Safer and more organized (each module has a function to be patched now) |
343f9cf
to
e75e2d6
Compare
WHY are these changes introduced?
For dev sessions we don't want to update the toml, but to inject the Application URLs directly in the toml at runtime.
WHAT is this pull request doing?
Refactors the partner URL updating logic to:
How to test your changes?
Remember that you can find the manifest in
./shopify/bundle
while runningapp dev
dev
with dev sessions enabledautomatically_update_urls_on_dev = true
:dev
, doesn't update them in the manifest (the manifest keeps the tunnel URL and ignores url changes from the toml)automatically_update_urls_on_dev = false
:dev
, DO also update them in the manifest.dev
without dev sessionsMeasuring impact
Checklist