[Plugin Request] Python Graphene #2516
Replies: 12 comments
-
That's awesome, @adrianschneider94 ! Extending In this repo there is a directory called You can also find a list of GraphQL apis to test here: https://github.com/APIs-guru/graphql-apis Feel free to contact me or anyone from our team if you need any help! |
Beta Was this translation helpful? Give feedback.
-
Things, that don't work yet: Extending Interfaces graphql-python/graphene#1068 Directives graphql-python/graphene#1069 |
Beta Was this translation helpful? Give feedback.
-
@adrianschneider94 this is awesome! Let me know how it goes and if we can help :) |
Beta Was this translation helpful? Give feedback.
-
I wrote something like this in TS a couple months ago - if you want, I can export the function that turns a schema AST into a python code string |
Beta Was this translation helpful? Give feedback.
-
Here is a https://github.com/quicktype/quicktype/blob/master/src/quicktype-core/language/Python.ts |
Beta Was this translation helpful? Give feedback.
-
Hi Adrian, Thank you |
Beta Was this translation helpful? Give feedback.
-
@moshere-fb |
Beta Was this translation helpful? Give feedback.
-
@adrianschneider94 this is awesome!!! Do you want to create a PR for this plugin? :) We can help you with the implementation if you need. |
Beta Was this translation helpful? Give feedback.
-
@adrianschneider94 / @dotansimha any update on this, would be super timely if this is available :) |
Beta Was this translation helpful? Give feedback.
-
@adrianschneider94 Are you still working on this project? I'm about to wrap up a base python-types plugin (#4146), so I'd be happy to pick up where you left off and try to finish up this work. |
Beta Was this translation helpful? Give feedback.
-
Is this still being worked on? Would love to have this |
Beta Was this translation helpful? Give feedback.
-
Hey guys, sorry, I haven‘t made any progress since the last gist I posted. My use case vanished... https://gist.github.com/adrianschneider94/9ddb7f6c906fd13f7c215c3a10a9749c But the code worked quite well when I tried it the last time. Yet it‘s not properly tested and not cleaned up. [Edit] |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm currently writing a graphql-codegen-plugin that generates Python graphene (https://graphene-python.org) types from a schema.
What should I pay attention to if I want to contribute the plugin? Code style, patterns etc...
So far I extended the BaseTypesVisitor and get fine results for most schemas. Do you have a collection of schemas I can test against?
Kind regards,
Adrian Schneider
Beta Was this translation helpful? Give feedback.
All reactions