The full stack template gives an error in server
udith-shalinda opened this issue · 2 comments
udith-shalinda commented
The issue is with the typeDefs and resolvers in apolloServer.
const apolloServer = new ApolloServer({
typeDefs: loadSchemaFiles(join(__dirname, '/schema/')),
resolvers: loadResolversFiles(join(__dirname, '/resolvers/')),
context: createKnexRuntimeContext(db as any, pubSub),
playground: true,
})
wtrocki commented
Apollo broke compatibility on their types.
I'm currently refactoring this so going to assign it to myself.
As a quick workaround, we can do as any
or use makeExecutableSchema
from graphql-toolkit
wtrocki commented
That is currently fixed. Updating to latest Graphback