Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

[Request] Build a Model from a Schema #334

Closed
hasezoey opened this issue Jul 17, 2019 · 1 comment
Closed

[Request] Build a Model from a Schema #334

hasezoey opened this issue Jul 17, 2019 · 1 comment

Comments

@hasezoey
Copy link
Contributor

with #331, there will be a function to build the schema (buildSchema), but there will be no function to buildModel(schema), #333 would add those but has many problems

I just make this Issue for those who are searching for such thing, because they wouldnt be able to give the schema back into the typegoose-system, and wouldnt have the right types

@hasezoey hasezoey changed the title [Feature] Build a Model from a Schema [Request] Build a Model from a Schema Jul 17, 2019
hasezoey referenced this issue in typegoose/typegoose Aug 10, 2019
- add models back to Typegoose
- adds tsdoc for getDiscriminatorModelForClass

fixes szokodiakos#334
@hasezoey
Copy link
Contributor Author

Closed - because it is included since 6.0.0-17

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant