Fetch organization details from Organizations API
Related to https://github.com/shop/issues-develop/issues/21256
WHY are these changes introduced?
We are using Destinations API to fetch organization details, but that's not the right API to use for that (Documentation).
WHAT is this pull request doing?
Switch to Organizations API.
How to test your changes?
p shopify app deploy
Measuring impact
How do we know this change was effective? Please choose one:
- [x] n/a - this doesn't need measurement, e.g. a linting rule or a bug-fix
- [ ] Existing analytics will cater for this addition
- [ ] PR includes analytics changes to measure impact
Checklist
- [x] I've considered possible cross-platform impacts (Mac, Linux, Windows)
- [x] I've considered possible documentation changes
Coverage report
St.:grey_question: |
Category | Percentage | Covered / Total |
|---|---|---|---|
| π‘ | Statements | 79.03% (-0.2% π») |
13359/16904 |
| π‘ | Branches | 72.72% (-0.39% π») |
6524/8972 |
| π‘ | Functions | 79.22% (-0.15% π») |
3450/4355 |
| π‘ | Lines | 79.39% (-0.19% π») |
12620/15896 |
Show new covered files π£
St.:grey_question: |
File | Statements | Branches | Functions | Lines |
|---|---|---|---|---|---|
| π’ | ... / find_organization.ts |
100% | 100% | 100% | 100% |
| π΄ | ... / deprecation-warnings.ts |
0% | 100% | 0% | 0% |
Show files with reduced coverage π»
St.:grey_question: |
File | Statements | Branches | Functions | Lines |
|---|---|---|---|---|---|
| π΄ | ... / build.ts |
0% | 0% (-100% π») |
0% | 0% |
| π΄ | ... / dev.ts |
0% | 0% (-100% π») |
0% | 0% |
| π΄ | ... / replay.ts |
0% | 0% (-100% π») |
0% | 0% |
| π΄ | ... / schema.ts |
0% | 0% (-100% π») |
0% | 0% |
| π΄ | ... / list.ts |
0% | 0% (-100% π») |
0% | 0% |
| π’ | ... / app.ts |
86.56% (-0.07% π») |
68.57% | 93.55% (-0.1% π») |
88.27% (-0.07% π») |
| π’ | ... / loader.ts |
93.32% (-0.54% π») |
85.92% (-0.91% π») |
97.22% (+0.16% πΌ) |
94.3% (-0.37% π») |
| π’ | ... / extension-instance.ts |
83.15% (-1.42% π») |
78.74% (+0.23% πΌ) |
92.73% (+0.79% πΌ) |
82.94% (-1.92% π») |
| π’ | ... / app_config_branding.ts |
80% (-20% π») |
0% (-100% π») |
0% (-100% π») |
80% (-20% π») |
| π’ | ... / ui_extension.ts |
94.78% (-0.04% π») |
82.89% (+1.64% πΌ) |
100% | 96.43% (-0.03% π») |
| π’ | ... / app-event-watcher.ts |
97.73% (-0.47% π») |
91.43% (+2.54% πΌ) |
95.45% (-1.21% π») |
100% |
| π’ | ... / DevSessionUI.tsx |
86.27% (+0.82% πΌ) |
84.21% (+0.6% πΌ) |
85% (-0.71% π») |
89.13% (+1.13% πΌ) |
| π‘ | ... / analytics.ts |
83.33% (-1.28% π») |
47.62% | 100% | 78.95% (-1.05% π») |
| π’ | ... / api.ts |
85.58% (-1.92% π») |
73.85% (-2.97% π») |
100% | 85% (-1.92% π») |
| π’ | ... / device-authorization.ts |
85.71% (-3.35% π») |
70.83% (-8.58% π») |
100% | 85.71% (-3.35% π») |
| π’ | ... / archiver.ts |
89.47% (+2.38% πΌ) |
66.67% | 75% (-1.47% π») |
92.31% (+1.08% πΌ) |
| π’ | ... / base-command.ts |
89.58% (-1.33% π») |
88.57% (-0.32% π») |
87.5% (-2.5% π») |
90.36% (-1.04% π») |
| π΄ | ... / custom-oclif-loader.ts |
28.13% (-4.23% π») |
11.9% (-3.31% π») |
33.33% | 28.13% (-4.23% π») |
| π’ | ... / fs.ts |
87.83% (-0.6% π») |
92.31% (+3.02% πΌ) |
85.42% (-0.58% π») |
88.29% (-0.6% π») |
| π’ | ... / git.ts |
91.92% (-1.24% π») |
88% (+0.07% πΌ) |
90.48% (-0.43% π») |
92.71% (-1.63% π») |
| π΄ | ... / deprecations.ts |
0% (-8.33% π») |
0% | 0% | 0% (-8.33% π») |
| π΄ | ... / postrun.ts |
0% (-16.67% π») |
0% | 0% (-25% π») |
0% (-18.75% π») |
| π’ | ... / output.ts |
88.89% | 64.29% (-7.14% π») |
88.89% | 88.89% |
| π΄ | ... / theme-ui.ts |
59.09% (-27.27% π») |
38.89% (-24.27% π») |
60% (-20% π») |
59.09% (-27.27% π») |
| π’ | ... / evaluator.ts |
97.26% (-2.74% π») |
93.02% (-4.54% π») |
100% | 97.14% (-2.86% π») |
| π’ | ... / html.ts |
96.72% (-0.05% π») |
90.32% | 88.89% | 96.61% (-0.06% π») |
| π’ | ... / proxy.ts |
91.54% | 79.22% (-1.3% π») |
90% | 91.15% |
Test suite run success
3256 tests passing in 1342 suites.
Report generated by π§ͺjest coverage report action from ab500ad3dfda405f9c0d1a879104d773caa51a5b
This PR seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. β If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.