File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
firebase-vscode/src/data-connect Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -146,8 +146,8 @@ export class DataConnectService {
146
146
return {
147
147
impersonate :
148
148
userMock . kind === UserMockKind . AUTHENTICATED
149
- ? { authClaims : JSON . parse ( userMock . claims ) }
150
- : { unauthenticated : true } ,
149
+ ? { authClaims : JSON . parse ( userMock . claims ) , includeDebugDetails : true }
150
+ : { unauthenticated : true , includeDebugDetails : true } ,
151
151
} ;
152
152
}
153
153
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export interface ExecuteGraphqlRequest {
220
220
query : string ;
221
221
operationName ?: string ;
222
222
variables ?: { [ key : string ] : string } ;
223
- extensions ?: { impersonate ?: Impersonation } ;
223
+ extensions ?: { impersonate ?: Impersonation ; includeDebugDetails ?: boolean } ;
224
224
}
225
225
226
226
export interface GraphqlResponse {
@@ -242,9 +242,11 @@ export const isGraphQLResponseError = (g: any): g is GraphqlResponseError => !!g
242
242
243
243
interface ImpersonationAuthenticated {
244
244
authClaims : any ;
245
+ includeDebugDetails ?: boolean ;
245
246
}
246
247
interface ImpersonationUnauthenticated {
247
248
unauthenticated : boolean ;
249
+ includeDebugDetails ?: boolean ;
248
250
}
249
251
export type Impersonation = ImpersonationAuthenticated | ImpersonationUnauthenticated ;
250
252
You can’t perform that action at this time.
0 commit comments