From 6f97b26cf2987591888316507f43e8827b81c716 Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 22 Sep 2022 01:57:22 +0300 Subject: [PATCH] Remove from hello-world --- examples/hello-world/index.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/examples/hello-world/index.js b/examples/hello-world/index.js index a852a7e1a6..5db13cdc78 100644 --- a/examples/hello-world/index.js +++ b/examples/hello-world/index.js @@ -1,6 +1,5 @@ const { createServer } = require('node:http') const { createYoga, createSchema } = require('graphql-yoga') -const { useSofa, useSofaWithSwaggerUI } = require('@graphql-yoga/plugin-sofa') const yoga = createYoga({ schema: createSchema({ @@ -22,13 +21,7 @@ const yoga = createYoga({ hello } `, - }, - plugins: [ - useSofaWithSwaggerUI({ - basePath: '/api', - swaggerUIPath: '/swagger', - }) - ] + } }) const server = createServer(yoga)