-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[discuss] Type-graphql types #781
base: master
Are you sure you want to change the base?
Conversation
4ccd5c8
to
f79f30b
Compare
f79f30b
to
de6081b
Compare
de6081b
to
323788d
Compare
upgrade graphql-codegen to 1.7.x and use new decoratorName config from dotansimha/graphql-code-generator#2448
Alright I think this is ready, pending circleCI check completing. Looks like a memory issue. Main main remaining questions are:
|
@NickBolles Thank you so much for doing this work, I just started using TypeGraphQL so this PR comes at a perfect time.
Ultimately all the the However I think we may need to reexamine our overall approach in Our goal should be to provide consumers as seamless integration with the accounts graphql schema as possible. With clear guidelines on how to extend the accounts functionality, whether that be on a database level with custom entities or on a graphql level, in a monolithic or federated approach.
|
@TimMikeladze I don't have a ton of time to respond, and there's a lot to digest, but I think I'm continuing to lean more towards a Especially when you through nestjs and an ORM (like typegoose) into the mix so that you can't just extend the base type-graphql type. |
Oops, didn't mean to close |
@NickBolles Sounds good, I think creating a separate |
bdf442b
to
3e57ec8
Compare
A quick implementation of type-graphql for graphql-api.
I'm wondering if we want to create a new package for type-graphql by itself. Right now I am not exporting the type-graphql types from the root package because that will for users to have type-graphql installed even if they aren't using it.
Looking for input on if this is alright, or create a new package.