-
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
Use app context in app dev #4680
Conversation
Coverage report
Show files with reduced coverage 🔻
Test suite run success1919 tests passing in 875 suites. Report generated by 🧪jest coverage report action from 090246c |
We detected some changes at either packages/*/src or packages/cli-kit/assets/cli-ruby/** and there are no updates in the .changeset. |
We detected some changes at packages/*/src and there are no updates in the .changeset. |
/snapit |
🫰✨ Thanks @isaacroldan! Your snapshot has been published to npm. Test the snapshot by intalling your package globally: pnpm i -g @shopify/[email protected]
|
} else { | ||
// If no storeFqdn is provided, fetch all stores for the organization and let the user select one. | ||
const allStores = await developerPlatformClient.devStoresForOrg(organization.id) | ||
selectedStore = await selectStore(allStores, organization, developerPlatformClient) | ||
} | ||
|
||
await logMetadata(selectedStore, forceReselectStore) | ||
selectedStore.shopDomain = await normalizeStoreFqdn(selectedStore.shopDomain) |
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.
Awesome, this fixes an issue with graphiql not loading when running the new dev (details: https://shopify.slack.com/archives/C073MME9MFA/p1729694637756339)
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.
Yep! this should fix all usages of the store domain :)
Just waiting for an approval to merge the PR!
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.
Looks great!
WHY are these changes introduced?
Use the generic app-context for all commands
WHAT is this pull request doing?
linkedAppContext
andstoreContext
inapp dev
ensureDevContext
,getAppContext
and other utility functionsHow to test your changes?
Test dev!
Post-release steps
Measuring impact
How do we know this change was effective? Please choose one:
Checklist