async-graphql / examples

217 stars 54 forks source link

How to access ctx from request or schema? #46

Closed rex-remind101 closed 2 years ago

rex-remind101 commented 2 years ago

In this example, how can I access ctx from the request or schema? I need to pull something out of ctx before I call schema.execute(request).await.into(). Thank you