File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66- update ` @types/graphql ` to latest version (` ^0.13.3 ` )
77### Fixes
88- fix throwing error when ` of => objectType ` wasn't provided in abstract resolver class
9+ - fix calling ` Object.assign ` with boolean arguments (#111 )
910
1011## v0.12.2
1112### Features
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ export async function validateArg<T extends Object>(
1212 return arg ;
1313 }
1414
15- const validatorOptions : ValidatorOptions = Object . assign ( { } , globalValidate , argValidate ) ;
15+ const validatorOptions : ValidatorOptions = Object . assign (
16+ { } ,
17+ typeof globalValidate === "object" ? globalValidate : { } ,
18+ typeof argValidate === "object" ? argValidate : { } ,
19+ ) ;
1620 if ( validatorOptions . skipMissingProperties !== false ) {
1721 validatorOptions . skipMissingProperties = true ;
1822 }
You can’t perform that action at this time.
0 commit comments