[Plugin Request] add support for typeorm template #1254
Unanswered
iamclaytonray
asked this question in
General
Replies: 3 comments
-
Hi @iamclaytonray ! Thank you for reporting it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
But notice that we should warn users to disable |
Beta Was this translation helpful? Give feedback.
0 replies
-
Really excited to this happening |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Because GraphQL and TypeORM are both typed, it would be fairly easy to add support to the generator for TypeORM.
Given this example schema:
the expected output would be:
We would need a way to ignore certain object types, such as something like:
Obviously, that should not be a database model. I can think of several other edge-cases where we wouldn't want to generate an entity for. I haven't gone in-depth with this tool yet but maybe something like a comment that a parser could read and tell the core to ignore from generating? This functionality could already be baked in, for all I know.
Beta Was this translation helpful? Give feedback.
All reactions