how to use dynamic schema
can we use dynamic schema with async-graphql? can we pass dynamic schema from a url Can we pass ast to validate query , its types and its field? Can we pass json returned by introspection query to validate query , its types and its field? Can you give an example how to use the same ?
Today I asked myself some questions about dynamic schema. If I understand correctly:
Yes, it has been implemented. But it seems that some parts are missing: dynamic schema open issues
Besides, I couldn't find any documentation. But I found this:
- Example
- https://github.com/async-graphql/async-graphql/discussions/1338
can we pass dynamic schema from a url
Not sure what do you mean. It seems like the interface is imperative. I think while you can build your schema on every request dynamically, it could be inefficient. Maybe you are interested in:
- https://github.com/async-graphql/async-graphql/issues/1214
i meant that if we write an interospection query and the schema it returns , can we use that with async-graphql , to do the validations and all . Can we use async-graphl to validate the query against the schema on run time. (the schema will be coming as a response to the interospection query)