v4.1.0
4.1.0 (2018-04-20)
Features
- MongoID: allow to override build-in MongoID type (720f0ba)
From new 4.1.0 version you may override build-in MongoID
type by your GraphQL class type implementation (related issue #98):
import { schemaComposer } from 'graphql-compose';
import { composeWithMongoose } from 'graphql-compose-mongoose';
schemaComposer.set('MongoID', YOUR_CLASS_TYPE_IMPLEMENTATION);
const UserTC = composeWithMongoose(UserModel, { schemaComposer });