File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ the fastify framework.
41
41
42
42
``` js
43
43
import Fastify from ' fastify' ; // yarn add fastify
44
- import { createHandler } from ' graphql-http/lib/use/express ' ;
44
+ import { createHandler } from ' graphql-http/lib/use/fastify ' ;
45
45
import { schema } from ' ./my-graphql-schema' ;
46
46
47
47
const fastify = Fastify ();
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export type HandlerOptions<Context extends OperationContext = undefined> =
28
28
*
29
29
* ```js
30
30
* import Fastify from 'fastify'; // yarn add fastify
31
- * import { createHandler } from 'graphql-http/lib/use/express ';
31
+ * import { createHandler } from 'graphql-http/lib/use/fastify ';
32
32
* import { schema } from './my-graphql-schema';
33
33
*
34
34
* const fastify = Fastify();
You can’t perform that action at this time.
0 commit comments