Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
fix(fastify-template): added resolvers in mercurius options
Browse files Browse the repository at this point in the history
  • Loading branch information
RinkiyaKeDad committed Jan 1, 2021
1 parent 186f560 commit 12d5887
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/ts-fastify-mongodb-backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ async function start() {

app.register((mercurius as any), {
schema,
resolvers,
graphiql: true,
context: contextCreator,
subscription: true
Expand Down

0 comments on commit 12d5887

Please sign in to comment.