Skip to content

Commit

Permalink
Merge branch 'skip_undefined' into star_schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Pollak committed Sep 18, 2019
2 parents 4eee65c + 03c8214 commit d9478fa
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/types/optional.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ export default function optional(name, propSchema) {
}
return result
}
return {
...propSchema,
serializer,
}
return Object.assign({}, propSchema, {serializer})
}

0 comments on commit d9478fa

Please sign in to comment.