graphql-compose / graphql-compose-mongoose

Mongoose model converter to GraphQL types with resolvers for graphql-compose https://github.com/nodkz/graphql-compose
MIT License
708 stars 94 forks source link

Embedded Discriminators #352

Open visualiz3 opened 3 years ago

visualiz3 commented 3 years ago

Hi, thanks for the great framework .. currently is there anyway to implement this?

Implementation in mongoose: https://thecodebarbarian.com/mongoose-4.12-single-embedded-discriminators.html

nodkz commented 3 years ago

For v9 Discriminator support in progress. Some work is done by @jhbuchanan45 https://github.com/graphql-compose/graphql-compose-mongoose/pull/340