Skip to content

1.1.0: exclude inner field if no inner error provided

Latest
Compare
Choose a tag to compare
@mpareja mpareja released this 05 Jul 02:06
· 7 commits to master since this release

Previous versions of this error strategy would define an inner property on all returned errors - even if the value was undefined. v1.2.0 will no longer define an inner property if an inner error is not specified.

The existence of inner property with an undefined value was resulting in confusing test assertions.