-
Now we can create schema on server start using:
But I would like to generate schema after startup, for example per request (because I am generating schema base on my database). For example in Graphql Helix I can regenerate schema per request: https://github.com/contra/graphql-helix/blob/main/examples/express/server.ts#L27 Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There is currently no straightforward way for this but I added it to our v3 roadmap. We can eventually even back-port this to the experimental Progress is tracked here: #1491 |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
There is currently no straightforward way for this but I added it to our v3 roadmap. We can eventually even back-port this to the experimental
onRequest
hook within v2.Progress is tracked here: #1491