This schema implements all 13 CRUD operations available in graphql-compose-mongoose.
This is a sample data of some trading company, which consists from 8 models. All models has cross-relations to each other. This schema used in Relay example app
Person and Droid models build on top of Character model. All data stored in one collection, correct document type obtained from discriminatorKey field. Mongoose discriminator docs
This schema provides full API available in the official elasticsearch module.