Skip to content
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

feat(transport-http): support get method #1066

Merged
merged 20 commits into from
Sep 6, 2024
Prev Previous commit
Next Next commit
types
  • Loading branch information
jasonkuhrt committed Sep 6, 2024
commit df32fd8f2d2ceeac671d2bb8ff1695e85ac1ec6b
2 changes: 1 addition & 1 deletion src/layers/3_SelectionSet/encode.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const testEachArgs = [
schemaIndex,
config: {
output: outputConfigDefault,
transport: { type: `memory`, config: null },
transport: { type: `memory`, config: { methodMode: `post` } },
name: schemaIndex[`name`],
// eslint-disable-next-line
initialInput: {} as any,
Expand Down
5 changes: 2 additions & 3 deletions src/layers/7_extensions/Upload/Upload.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,14 @@ import { Upload } from './Upload.js'

import { createYoga } from 'graphql-yoga'
import type { Client } from '../../6_client/client.js'
import type { OutputConfigDefault } from '../../6_client/Settings/Config.js'
import type { TransportHttpInput } from '../../6_client/transportHttp/request.js'
import type { Config, OutputConfigDefault } from '../../6_client/Settings/Config.js'

let server: Server
let port: number
let graffle: Client<
any,
{
transport: { type: 'http'; config: null | TransportHttpInput }
transport: { type: 'http'; config: Config['transport']['config'] }
output: OutputConfigDefault
initialInput: { schema: URL }
name: 'default'
Expand Down