From 12d588718dacaecb5cc1d3ed8005ac4a949b82a4 Mon Sep 17 00:00:00 2001 From: Arsh Sharma Date: Fri, 1 Jan 2021 18:22:06 +0530 Subject: [PATCH] fix(fastify-template): added resolvers in mercurius options --- templates/ts-fastify-mongodb-backend/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/ts-fastify-mongodb-backend/src/index.ts b/templates/ts-fastify-mongodb-backend/src/index.ts index 0fd5c43513..6328fd821d 100644 --- a/templates/ts-fastify-mongodb-backend/src/index.ts +++ b/templates/ts-fastify-mongodb-backend/src/index.ts @@ -45,6 +45,7 @@ async function start() { app.register((mercurius as any), { schema, + resolvers, graphiql: true, context: contextCreator, subscription: true