0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/integration
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
..
api Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
data/importer/importers Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
model Extended the API object validation 2018-04-05 18:51:58 +02:00
export_spec.js Moved ghost-version to lib 2017-12-14 22:14:55 +01:00
migration_spec.js Sorted out the mixed usages of include and withRelated (#9425) 2018-02-15 10:53:53 +01:00
site_spec.js 🐛Fixed asset redirects (#9455) 2018-02-14 17:21:31 +01:00
update_check_spec.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00