(variables: GraphQL.Variables<Op> | undefined, options: CallOptions | undefined)
| 356 | ) |
| 357 | |
| 358 | const buildRequest = (variables: GraphQL.Variables<Op> | undefined, options: CallOptions | undefined) => |
| 359 | encodeVariables(variables).pipe( |
| 360 | Effect.map((encoded): GraphQLRequest => ({ |
| 361 | kind: operation.kind, |
| 362 | query: operation.document, |
| 363 | operationName: operation.name, |
| 364 | variables: encoded, |
| 365 | headers: Headers.fromInput(options?.headers), |
| 366 | urlParams: options?.urlParams === undefined ? UrlParams.empty : UrlParams.fromInput(options.urlParams) |
| 367 | })) |
| 368 | ) |
| 369 | |
| 370 | const decodeResponse = ({ body, ...metadata }: { |
| 371 | readonly body: unknown |
no test coverage detected