Replies: 1 comment 2 replies
-
That's a great idea 👍 I have a sort of federated setup where my Python schema is only a small subset of the larger API that I need to interact with. I'm going to need this feature now but I have to contrast the current capabilities and intended future direction with my needs. In case they align I have some bandwidth to contribute this.
- https://strawberry.rocks/docs/codegen/query-codegen I couldn't find anything else on this this, is there another discussion or issue tracking design for codegen? |
Beta Was this translation helpful? Give feedback.
-
The codegen feature currently requires the schema to be written in strawberry. It would be great if codegen was server lib agnostic, i.e., it receives an introspection query result (json) as an input and generates classes based on that, similar to how other tools like https://github.com/profusion/sgqlc do. This would drastically increase the use-cases for the codegen feature.
Is this a reasonable thought?
Beta Was this translation helpful? Give feedback.
All reactions