Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datamapper): returns the value if it is considered empty
Using checker.isEmpty null, undefined, {} or "" values will be returned by themselves, without being converted to null or undefined and without being passed to the parser. BREAKING CHANGE: This can change the way a value that does not exist in the collection is undefined in the application that uses the lib. A null value is returned as null, but an undefined is passed to the parser and can return a different value. Instead of "undefined", undefined will be returned, causing breaking changes in systems that expect "undefined" with a string type. herbsjs#36 and herbsjs#39
- Loading branch information