Amin Bakhtiari Far
07/18/2020, 8:14 AM# import input UserOrderByInput from './src/generated/schema.graphql'
# import input UserOrderByInput from './../../generated/schema.graphql'
These are the two different ways I tried to no avail.
Any suggestions would be highly appreciated.
And by the way this is how i instanciate GraphQLServer:
import mainSchema from "./gql/schema/schema.graphql"
const server = new GraphQLServer({
typeDefs: [mainSchema],
resolvers,
context(request) {
return {
request,
prisma,
Auth,
Policy
}
},
fragmentReplacements
})