1 parent 6924d8c commit 5d5a821Copy full SHA for 5d5a821
2 files changed
docs/modules/use_fastify.md
@@ -41,7 +41,7 @@ the fastify framework.
41
42
```js
43
import Fastify from 'fastify'; // yarn add fastify
44
-import { createHandler } from 'graphql-http/lib/use/express';
+import { createHandler } from 'graphql-http/lib/use/fastify';
45
import { schema } from './my-graphql-schema';
46
47
const fastify = Fastify();
src/use/fastify.ts
@@ -28,7 +28,7 @@ export type HandlerOptions<Context extends OperationContext = undefined> =
28
*
29
* ```js
30
* import Fastify from 'fastify'; // yarn add fastify
31
- * import { createHandler } from 'graphql-http/lib/use/express';
+ * import { createHandler } from 'graphql-http/lib/use/fastify';
32
* import { schema } from './my-graphql-schema';
33
34
* const fastify = Fastify();
0 commit comments