Ghost/ghost/members-csv/test/fixtures
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
..
empty.csv Added basic test coverage for JSON to CSV serialization 2020-07-08 19:40:48 +12:00
multiple-records-with-empty-values.csv Added empty string '' to null transform when parsing CSVs 2020-08-17 17:57:49 +12:00
single-column-with-header.csv Fixed tests and added fixtures from Ghost repo 2020-06-19 19:33:43 +12:00
two-columns-mapping-header.csv Added mapping support to CSV parser 2020-07-02 14:53:56 +12:00
two-columns-obscure-header.csv Fixed tests and added fixtures from Ghost repo 2020-06-19 19:33:43 +12:00
two-columns-with-header.csv Fixed tests and added fixtures from Ghost repo 2020-06-19 19:33:43 +12:00