-
Notifications
You must be signed in to change notification settings - Fork 191
Make developerPlatformClient not optional in OrganizationApp #6144
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
base: 07-22-stop_loading_organization_id_from_toml_and_using_it_to_select_the_client
Are you sure you want to change the base?
Conversation
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
6d71985
to
f263f9b
Compare
dd7eaf5
to
ffd5cbb
Compare
f263f9b
to
1f69d09
Compare
ffd5cbb
to
e4030c4
Compare
1f69d09
to
7c43247
Compare
e4030c4
to
7d025ec
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/api/app-management.d.ts@@ -22,7 +22,6 @@ export interface RequestOptions {
* @param unauthorizedHandler - Optional handler for unauthorized requests.
*/
export interface AppManagementRequestOptions<TResult, TVariables extends Variables> {
- organizationId: string;
query: TypedDocumentNode<TResult, TVariables>;
token: string;
variables?: TVariables;
|
7c43247
to
b68ef39
Compare
Coverage report
Show files with reduced coverage 🔻
Test suite run success3042 tests passing in 1314 suites. Report generated by 🧪jest coverage report action from b68ef39 |
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/api/app-management.d.ts@@ -22,7 +22,6 @@ export interface RequestOptions {
* @param unauthorizedHandler - Optional handler for unauthorized requests.
*/
export interface AppManagementRequestOptions<TResult, TVariables extends Variables> {
- organizationId: string;
query: TypedDocumentNode<TResult, TVariables>;
token: string;
variables?: TVariables;
|
WHY are these changes introduced?
Support the project to remove ORG_ID from app tomls.
WHAT is this pull request doing?
Changes the
developerPlatformClient
property on theOrganizationApp
type from optional to required, and updates all relevant code to ensure this property is always provided. This eliminates the need for fallback logic when accessing the developer platform client.How to test your changes?
Measuring impact
How do we know this change was effective? Please choose one:
Checklist