Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Uint8Array data (e.g. Postgres "bytea" type) erroneously considered "…
…undefined" by recent 0.11.7 update. (#1601) * Made modification so that attributes with data stored in typed arrays such as Uint8Arrays are treated as "Arrays" vs as "Objects". For example, pgsql "bytea" type column data is passed back as Uint8Arrays by the node pgsql driver "pg" and without this modification, such data will fail the "containsUndefined" test. * Made modification so that attributes with data stored in typed arrays such as Uint8Arrays are automatically treated as "not undefined" (vs as "Array" which will result in unecessary testing of Array contents). For example, pgsql "bytea" type column data is passed back as Uint8Arrays by the node pgsql driver "pg" and without this modification, such data will fail the "containsUndefined" test with previous implementation.
- Loading branch information