You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the conversation on the schema first approach (#222), it would be nice to have a website (or as a part of TypeGraphQL CLI - #66) that would convert the schema definition to TypeGraphQL type classes and empty resolvers (without method implementation).
Of course it would be hard to detect common things like Connection or Edge generics so the generator would produce not optimal TypeGraphQL code but it would be still better than rewriting the types by hand.
Hi, @MichalLytek
Thank you so much for the great library and plugin.
It's just a question but typescript-type-graphql plugin of graphql-code-generator could generate type classes for me, but couldn't generate resolver classes. Can I do that any way?
I tried typescript-resolver plugin but it didn't add the @Resolver annotation so I won't use for type-graphql.
Based on the conversation on the schema first approach (#222), it would be nice to have a website (or as a part of TypeGraphQL CLI - #66) that would convert the schema definition to TypeGraphQL type classes and empty resolvers (without method implementation).
Of course it would be hard to detect common things like
Connection
orEdge
generics so the generator would produce not optimal TypeGraphQL code but it would be still better than rewriting the types by hand.*Side note: Inspired by Nexus.js SDL converter:
https://nexus.js.org/converter
The text was updated successfully, but these errors were encountered: