You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi would like to request or if it existing please add to documentation
Please add the option to change schema at runtime ,
in python and flask with ariadne this is possible ,
should have different schema per URL , yes i know i can define the schema and the URL before the express server runs but the thing is , everytime i have to add new schema i need to define another URL with its own createHandler option ,
i just want to add a folder directory then inside off every folder created there is api.js that defines the rootValue methods , and its own schema , the goal is to everytime we have another API we will add new folder and an api.js file and it will be accessible via url http://mydomain.com/partner/code , this code is dynamic so i only need to use this express js routing app.use('/partner/:code') to make my code accessible via request.params and this code will be equal to the partner folder where api and schemas reside
thank you
The text was updated successfully, but these errors were encountered:
You're creating brand new handlers for each request. Instead, I'd recommend using the schema property,
hwich is also a function where you can perform your schema discovery.
Hi would like to request or if it existing please add to documentation
Please add the option to change schema at runtime ,
in python and flask with ariadne this is possible ,
should have different schema per URL , yes i know i can define the schema and the URL before the express server runs but the thing is , everytime i have to add new schema i need to define another URL with its own createHandler option ,
i just want to add a folder directory then inside off every folder created there is api.js that defines the rootValue methods , and its own schema , the goal is to everytime we have another API we will add new folder and an api.js file and it will be accessible via url http://mydomain.com/partner/code , this code is dynamic so i only need to use this express js routing app.use('/partner/:code') to make my code accessible via request.params and this code will be equal to the partner folder where api and schemas reside
thank you
The text was updated successfully, but these errors were encountered: