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

Currently the Nestjs-Typegoose package doesn't allow the use of discriminated entities. #1320

Closed
smolinari opened this issue Aug 30, 2021 · 0 comments · Fixed by #1321
Closed
Labels
enhancement New feature or request

Comments

@smolinari
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently the Typegoose package doesn't allow for the use of discriminated entities. It is a great method to have schema inheritance.

https://mongoosejs.com/docs/discriminators.html

Have you read the Contributing Guidelines?

Yes

Describe the solution you'd like

I'd like to be able to use discriminated entities.

Describe alternatives you've considered

No alternatives.

Additional context

None
Scott

@smolinari smolinari added the enhancement New feature or request label Aug 30, 2021
smolinari added a commit that referenced this issue Sep 6, 2021
* feat(query-typegoose): Adds the ability to use discriminators 

Fixes #1320

* fix: removes package.json

* Revert "fix: removes package.json"

This reverts commit cc5d821.

* fix: adds package-lock.json

* fix: corrects linting issues adds missing added package

* fix(query-typegoose): minor changes

* fix(query-typegoose): fixes linting (again)

* fix(query-typegoose): fixes conflict in package-lock.json

Co-authored-by: Scott Molinari <scott.molinari@m8a.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant