Repository navigation
Generate typegraphql from typescript. #1259
Answered
by
MichalLytek
valerii15298
asked this question in
Q&A
|
Is there a way to generate Typegraphql from typescript types? Basically i have library which has types and i need to build graphql api on top of that. And creating objectTypes manually is not very comfortable... Since there are lot of types. So having ability to generate typegraphql from typescript could be really helpful. |
Answered by
MichalLytek
Apr 10, 2022
Replies: 1 comment 3 replies
|
I think you should write your own plugin for GraphQL Code Generator |
3 replies
Answer selected by
valerii15298
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you should write your own plugin for GraphQL Code Generator
https://www.graphql-code-generator.com/plugins/typescript-type-graphql