sergiodxa/grial

Allow @grial/server context customization

Closed this issue · 2 comments

Right now it's impossible to customize the context of each request in @grial/server, I want it to be customizable somehow. Also allow the customization of the WS server context.

I think we can have a grial.config.js similar to next.config.js of Next.js and have methods to customize our API server.

Done, now it's possible to create a grial.config.js to customize GraphQL, GraphiQL and the subscription server.