File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 11## master
22
3+ ## 1.0.2 (July 18, 2016)
4+ * HotFix for connection resolver
5+
36## 1.0.1 (July 18, 2016)
47* Fix ` peerDependencies `
58* Update ` flow ` till 0.29
Original file line number Diff line number Diff line change 11{
22 "name" : " graphql-compose-mongoose" ,
3- "version" : " 1.0.1 " ,
3+ "version" : " 1.0.2 " ,
44 "description" : " Plugin for `graphql-compose` which derive a graphql type from a mongoose model." ,
55 "files" : [
66 " es" ,
Original file line number Diff line number Diff line change @@ -125,8 +125,8 @@ export function createResolvers(
125125 }
126126 } ) ;
127127
128- if ( ( ! opts . hasOwnProperty ( 'connection' ) || opts . connection !== false ) && opts . connection ) {
129- prepareConnectionResolver ( typeComposer , opts . connection ) ;
128+ if ( ! opts . hasOwnProperty ( 'connection' ) || opts . connection !== false ) {
129+ prepareConnectionResolver ( typeComposer , opts . connection ? opts . connection : { } ) ;
130130 }
131131}
132132
You can’t perform that action at this time.
0 commit comments