profusion / sgqlc

Simple GraphQL Client
https://sgqlc.readthedocs.io/
ISC License
513 stars 85 forks source link

Automatic creation of classes based of GraphQL schema #118

Closed gioxc88 closed 3 years ago

gioxc88 commented 3 years ago

Hello and thank you for this amazing package.

I wanted to ask how if you have an approximate ETA for this feature since you mention it in the documentation. It would be super useful.

Thank you Gio

barbieri commented 3 years ago

not sure what you mean, the classes are created by sgqlc-codegen for a while, more recently I even added the option to create the operations from GraphQL DSL.

gioxc88 commented 3 years ago

Sorry to have opened the issue. I didn't go through all documentation because at some point you say

"Future plans include generating the Python classes from the GraphQL schema, which can be automatically fetched from an endpoint using the introspection query."

This is what confused me. I successfully used sgqlc-codegen. Thank you, this can be closed

barbieri commented 3 years ago

ok, thanks. Fixed that in the readme