Ghost/ghost/members-csv/test
Nazar Gargol b8c1aeee35 Added empty string '' to null transform when parsing CSVs
no issue

- When items are parsed from CSV empty values were interpreted as empty strings - ''. Empty strings are always transformed into 'null' values in Ghost's model layer and are much more problematic to validate comparing to plain `null`. Specifically validation was imossible for 'format: date-time' with JSON schema validation through ajv when the value of date property was an empty string
- This behavior resemples one present in Ghost's model layer  - 95880dddeb
- When testing performance overhead for this change did not spot any statistically significant change in performance (tested set was 50K rows)
2020-08-17 17:57:49 +12:00
..
fixtures Added empty string '' to null transform when parsing CSVs 2020-08-17 17:57:49 +12:00
utils Initialized members-csv package 2020-06-19 18:54:48 +12:00
.eslintrc.js Initialized members-csv package 2020-06-19 18:54:48 +12:00
parse.test.js Added empty string '' to null transform when parsing CSVs 2020-08-17 17:57:49 +12:00
unparse.test.js Reworked unparse test to use less dependencies 2020-07-08 20:09:21 +12:00