[Enhancement] - Support For GQL Interfaces, Unions and Fragments #30
Replies: 1 comment
-
Hi, Thanks for opening a new issue, I have a couple of open points: a) I revisited my documentation (and GraphQL one), fragments in GraphQL have been created for reusability, which is the fundament of py-graphql-mapper: if you need to reuse a particular data structure, instead of creating a hard-coded fragment, you can just create your own type as python class using the mapper module (example here). b) I explored the query containing the field you showed me in issue #25 Thanks again |
Beta Was this translation helpful? Give feedback.
-
It would be great to have this generator / library support Fragments alongside Unions and Interfaces.
Some GraphQL API's (such as the one that I am using this project for), make heavy use of these modifiers - as these aren't supported, this leads to a lot of errors when performing queries and I've had no choice but to comment out the problematic parts in my project now.
Happy to help out where I can for adding feature support for these
Beta Was this translation helpful? Give feedback.
All reactions