-
Notifications
You must be signed in to change notification settings - Fork 143
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
Fix dev when resetting and creating a new app #5213
base: main
Are you sure you want to change the base?
Fix dev when resetting and creating a new app #5213
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. |
Coverage report
Show files with reduced coverage 🔻
Test suite run success2008 tests passing in 906 suites. Report generated by 🧪jest coverage report action from 2fff7ea |
98d9d05
to
2fff7ea
Compare
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.
Tophatted, LGTM!
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.
Woohoo!
WHY are these changes introduced?
There is an issue when using
--reset
and linking to a new app. The CLI wasn't properly configuring this new app and if done duringapp dev
, it was obtaining the apiSecret.WHAT is this pull request doing?
Make sure that we properly build the
AppCreationDefaultOptions
object when linking to a new app during a--reset
command.Make sure that we fetch the api secret also on
createApp
mutations, not only ongetApp
queries.How to test your changes?
shopify app init
and create a new app (api client) in a Plus org and choose the Remix templateshopify app dev
and see the that app opensshopify app dev --reset
and create a new app (api client)embedded = true
Measuring impact
How do we know this change was effective? Please choose one:
Checklist