Closed Trellian closed 6 years ago
Again... I gotta stop doing this and wasting your time, sorry.
I got it working as follows:
In the last part of the code above, I changed to the following:
graphQLServer.use('/graphql', graphqlExpress({
schema: graphQlSchema
}));
graphQLServer.use('/graphiql', graphiqlExpress({
schema: graphQlSchema,
endpointURL: '/graphql'
}));
Just posting it here in case it helps someone else
Thanks a million for 'objection-graphql' !
Hi,
Is it possible to use the generated schema with the Apollo GraphQL Express server? (As per this example https://github.com/Akryum/apollo-server-example)
a direct call to graphql() is working fine:
with console.log showing:
but when I try to use graphiQL with the same query, it returns an error message: