Ghost/core/test
kirrg001 bda76acba6 Extended the API object validation
refs #9548

- do not forward `tag.parent` to the model layer
  - the model layer should only know `tag.parent_id`
  - and the API should only expose `tag.parent` (this is an API feature)
  - currently Ghost has a mixture of using `toJSON` and the API validation layer for this
  - we just continue with this for now (no time to fix this)
- disallow sending nested-nested relations
  - unsupported
  - see comment for more information
  - this can cause problems with calling `hasChanged` on relations
- add unit tests
2018-04-05 18:51:58 +02:00
..
functional Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
integration Extended the API object validation 2018-04-05 18:51:58 +02:00
unit Extended the API object validation 2018-04-05 18:51:58 +02:00
utils Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
.eslintrc.json ESlint rule: no-multiple-empty-lines 2017-11-06 10:12:18 +00:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00