Replies: 4 comments 3 replies
-
Can you show typescript examples of generated resolvers? I was under impression that Apollo's Codegen is only for the client side. 🤔 |
Beta Was this translation helpful? Give feedback.
-
@rafalp I would like to invite you to take a look at a repo with a proof of concept: 👍 |
Beta Was this translation helpful? Give feedback.
-
Just found out that someone started a pure python graphql code generator: |
Beta Was this translation helpful? Give feedback.
-
Any progress on this @rafalp: having typings on both the client and the server is key -- otherwise, we have much weaker guarantees that the client will be able to talk to the server. |
Beta Was this translation helpful? Give feedback.
-
Hi there.
One of the great things about using GraphQL with Typescript is that you can generate types for everything from schemas, to enums, to resolvers, etc. etc.
Is it also possible to add generated MyPy type hints to Ariadne resolvers? I couldn't find anything about this in the docs.
Beta Was this translation helpful? Give feedback.
All reactions