Replies: 2 comments
-
I think that API Platform might be interesting here https://github.com/api-platform/api-platform They provide various formats for the data model. This is what ariadne-django partially achieve https://github.com/reset-button/ariadne_django (current supported package to bring the gap between ariadne and django) |
Beta Was this translation helpful? Give feedback.
-
I'm all for it, but it does sound like a pretty big task. I guess it all depends on how easy it is to find a common denominator between the different Django GQL packages, and what kind of features we want to add. I can see something like that holding development back in the future if we want to add features that are easy to implement in one library, but more difficult in another. Also, do we want to make Grapple completely back-end agnostic, so that anyone could write a new GQL package and plug it in, or do we just want to support a few existing libraries? The latter is probably easier, but it does mean that we'd be expected to maintain the integration with the different GQL libraries. |
Beta Was this translation helpful? Give feedback.
-
Given the recent developments with Graphene, one idea would be to make the GraphQL libraries swappable (e.g. Strawberry is the new hot topic in this area).
This would require a fair bit of plumbing, but it is an enticing thought. Does anyone have examples of packages that do this well and are worth following?
Beta Was this translation helpful? Give feedback.
All reactions