nuxt-mongoose
nuxt-mongoose copied to clipboard
How to create Discriminators
I just learned how to use Discriminators and I think it has great potential. I checked the pull request "add discriminators.ts helper" by @jbool24 about this issue, but I think it's still unavailable in the API to create discriminators.
Any plans to implement it or sugestions about this topic? Thanks a lot for NuxtMongoose, I really appretiate the effort of all the people involved.
yes thanks to @jbool24 we can have discriminators
, but there was discussion on implementing it as Combined Factory Function
or Separate Factory Functions
see this comment for more detail
@RodrigoRoy what would you choose as a user?
added in #47