v9.0.0-alpha.10
Pre-release
Pre-release
github-actions
released this
15 Sep 20:35
·
86 commits
to master
since this release
9.0.0-alpha.10 (2020-09-15)
Bug Fixes
- revert "Null fields in mongo return sub fields". It brokes
aliases
and old behavior was quite expensive with.toObject
call. (ae34da9)
Code Refactoring
- move out important methods from
composeWithMongose
tocomposeMongose
module (bc9fb7d)
Features
- expose
resolverFactory
for manual resolver creation, eg. for cloned types:resolverFactory.findMany(UserModel, ClonedUserTC, opts)
– it generates Resolver's types according toClonedUserTC
type and will use mongooseUserModel
for making requests to DB (b62ef6f) - nested aliases are now supported for
filter
,projection
&lean
(d27f79a)
BREAKING CHANGES
- remove default export from package. Use
import { composeMongoose } from 'graphql-compose-mongoose';