Skip to content

Commit 44577b2

Browse files
committed
m
1 parent 04b95d3 commit 44577b2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

firebase-vscode/common/messaging/protocol.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,12 @@ export interface DataConnectResults {
144144
results: ExecutionResults;
145145
}
146146

147+
// If non-200 status: respErr and errors from `details` is set
148+
// If 200 status:
149+
// - success: only data is set
150+
// - request error: only errors is set
151+
// - field error: both data and errors are set
147152
export interface ExecutionResults {
148-
// Results
149-
// If non-200 status: respErr and maybe errors is set
150-
// If 200 status: data and maybe errors is set
151153
data?: any; // data can be any valid JSON value.
152154
gqlErrors?: GraphqlError[];
153155
respErr: GraphqlResponseError | SerializedError | undefined;

0 commit comments

Comments
 (0)