-
Notifications
You must be signed in to change notification settings - Fork 225
Fix dev stores with custom domains #6430
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
Conversation
This comment has been minimized.
This comment has been minimized.
Coverage report
Show files with reduced coverage 🔻
Test suite run success3228 tests passing in 1336 suites. Report generated by 🧪jest coverage report action from ccbd42a |
|
/snapit |
|
🫰✨ Thanks @isaacroldan! Your snapshot has been published to npm. Test the snapshot by installing your package globally: npm i -g --@shopify:registry=https://registry.npmjs.org @shopify/[email protected]Caution After installing, validate the version by running just |
c79edca to
ccbd42a
Compare
Differences in type declarationsWe detected differences in the type declarations generated by Typescript for this branch compared to the baseline ('main' branch). Please, review them to ensure they are backward-compatible. Here are some important things to keep in mind:
New type declarationsWe found no new type declarations in this PR Existing type declarationspackages/cli-kit/dist/public/node/context/fqdn.d.ts@@ -50,4 +50,4 @@ export declare function identityFqdn(): Promise<string>;
* @param store - Store name.
* @returns Normalized store name.
*/
-export declare function normalizeStoreFqdn(store: string): Promise<string>;
\ No newline at end of file
+export declare function normalizeStoreFqdn(store: string): string;
\ No newline at end of file
|

WHY are these changes introduced?
To fix an issue where store domains were not being properly normalized when fetched from the Business Platform API.
WHAT is this pull request doing?
urlfield to the GraphQL query for listing app development storesmapBusinessPlatformStoresToOrganizationStoresfunction to use the normalized URL from the store datanormalizeStoreFqdnfunction to handle URLs with/adminpathsnormalizeStoreFqdnsynchronous since it no longer needs to be asyncHow to test your changes?
shopify app devwith a store that has a custom primary domainMeasuring impact
How do we know this change was effective? Please choose one:
Checklist