https://supertokens.com/ logo
#support-questions
Title
# support-questions
s

scherbatsky.jr

02/15/2022, 3:48 AM
I am using Nest JS on the backend, and currently to test have the same stuff in the docs. In backend: ``const graphqlSchema = buildSchema(
Copy code
type Query {
      hello: String
    }
); const resolvers = { hello: (_: any, context: any) => { console.log(context.session) return "Hello World" } }; app.use('/graphql', verifySession({ sessionRequired: true }), graphqlHTTP(async (req: any, res) => { return { schema: graphqlSchema, rootValue: resolvers, context: { session: req.session } } }));``