File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ the fastify framework.
4141
4242``` js
4343import Fastify from ' fastify' ; // yarn add fastify
44- import { createHandler } from ' graphql-http/lib/use/express ' ;
44+ import { createHandler } from ' graphql-http/lib/use/fastify ' ;
4545import { schema } from ' ./my-graphql-schema' ;
4646
4747const fastify = Fastify ();
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export type HandlerOptions<Context extends OperationContext = undefined> =
2828 *
2929 * ```js
3030 * 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 ';
3232 * import { schema } from './my-graphql-schema';
3333 *
3434 * const fastify = Fastify();
You can’t perform that action at this time.
0 commit comments