I have added support for the generation of modules that implement a GraphQL server that can be run with the Strawberry GraphQL Python package (https://strawberry.rocks/docs).
There are likely bugs in this, but I did generate and run it with two reasonably complex examples: (1) the Demos/People schema and XML instance doc in the generateDS repository and (2) the neuroml schema
(https://github.com/NeuroML/NeuroML2.git -- NeuroML2/Schemas/NeuroML2/NeuroML_v2.2.xsd).
When you have problems or have questions or comments, please send them along.
Note that a module generated by generateDS with GraphQL support (using the --graphql command line option cannot be used as a normal generateDS module.
Dave
Last edit: Dave Kuhlman 2023-07-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have added support for the generation of modules that implement a GraphQL server that can be run with the Strawberry GraphQL Python package (https://strawberry.rocks/docs).
You can learn about it here -- http://www.davekuhlman.org/generateDS.html#graphql-support
There are likely bugs in this, but I did generate and run it with two reasonably complex examples: (1) the
Demos/People
schema and XML instance doc in the generateDS repository and (2) the neuroml schema(https://github.com/NeuroML/NeuroML2.git --
NeuroML2/Schemas/NeuroML2/NeuroML_v2.2.xsd
).When you have problems or have questions or comments, please send them along.
Note that a module generated by
generateDS
with GraphQL support (using the--graphql
command line option cannot be used as a normalgenerateDS
module.Dave
Last edit: Dave Kuhlman 2023-07-13