Skip to content
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

Is it possible to add a mapping type helpers from Nest? #679

Closed
cloudever opened this issue Aug 13, 2020 · 1 comment
Closed

Is it possible to add a mapping type helpers from Nest? #679

cloudever opened this issue Aug 13, 2020 · 1 comment
Labels
Community 👨‍👧 Something initiated by a community Duplicate 🔑 This issue or pull request already exists

Comments

@cloudever
Copy link

Is your feature request related to a problem? Please describe.
Nest.js framework inlcude a few mapping type helper that allow to minimize repeating code when developing CRUD for GraphQL. For example if there is a CreateUserInput, there is also UpdateUserInput that looks very similar and mapping type helpers allow to extend InputType

Describe the solution you'd like
Rewrite mapping type helpers from Nest.js

Describe alternatives you've considered
https://docs.nestjs.com/graphql/mapped-types

It's not possible to use mapping type helpers from nest.js with type-graphql project

@MichalLytek
Copy link
Owner

MichalLytek commented Aug 13, 2020

Yes, it is possible to implement a feature proposed half year before a NestJS implementation 😉
It's on the roadmap for 1.x release.

Closing as duplicate of #453 🔒

@MichalLytek MichalLytek added Community 👨‍👧 Something initiated by a community Duplicate 🔑 This issue or pull request already exists labels Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community 👨‍👧 Something initiated by a community Duplicate 🔑 This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants