Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 27, 2022
1 parent 814c32c commit bcc25fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 4 additions & 1 deletion packages/graphql-yoga/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ import {
} from './plugins/types.js'
import { createFetch } from '@whatwg-node/fetch'
import { ServerAdapter, createServerAdapter } from '@whatwg-node/server'
import { processRequest as processGraphQLParams } from './processRequest.js'
import {
processRequest as processGraphQLParams,
processResult,
} from './processRequest.js'
import { defaultYogaLogger, titleBold, YogaLogger } from './logger.js'
import { CORSPluginOptions, useCORS } from './plugins/useCORS.js'
import { useHealthCheck } from './plugins/useHealthCheck.js'
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/response-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
},
"peerDependencies": {
"graphql": "^15.2.0 || ^16.0.0",
"@graphql-yoga/common": "^2.10.0"
"graphql-yoga": "^2.13.4"
},
"type": "module"
}
7 changes: 1 addition & 6 deletions packages/plugins/response-cache/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@ import {
useResponseCache as useEnvelopResponseCache,
UseResponseCacheParameter as UseEnvelopResponseCacheParameter,
} from '@envelop/response-cache'
import {
GraphQLParams,
Maybe,
Plugin,
YogaInitialContext,
} from '@graphql-yoga/common'
import { GraphQLParams, Maybe, Plugin, YogaInitialContext } from 'graphql-yoga'

export type UseResponseCacheParameter = Omit<
UseEnvelopResponseCacheParameter,
Expand Down

0 comments on commit bcc25fa

Please sign in to comment.