We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04b95d3 commit 44577b2Copy full SHA for 44577b2
firebase-vscode/common/messaging/protocol.ts
@@ -144,10 +144,12 @@ export interface DataConnectResults {
144
results: ExecutionResults;
145
}
146
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
152
export interface ExecutionResults {
- // Results
- // If non-200 status: respErr and maybe errors is set
- // If 200 status: data and maybe errors is set
153
data?: any; // data can be any valid JSON value.
154
gqlErrors?: GraphqlError[];
155
respErr: GraphqlResponseError | SerializedError | undefined;
0 commit comments