Skip to content

Conversation

@bensalilijames
Copy link
Contributor

Currently, passing a null value into e.g. an update patch input causes the upload field plugin to throw an error that Object.keys(null) is not a thing. This adds a guard obj[key] !== null to fix this! :)

Currently, passing a null value into e.g. an update patch input causes the upload field plugin to throw an error that `Object.keys(null)` is not a thing. This adds a guard `obj[key] !== null` to fix this! :)
@mattbretl mattbretl merged commit c31464a into graphile-contrib:master Apr 29, 2018
@mattbretl
Copy link
Member

Good catch, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants