Ghost/core/server/models/base
Katharina Irrgang 7273786459
Fetch relations by default when insert/updating posts (#9568)
no issue

- required for model events
- otherwise you won't receive a full data set
  - in worst case you have to re-fetch the post
- required for the url service
  - the url service always needs relations (authors,tags) to be able to generate the url properly

@IMPORTANT
- no API change, we still return what you are asking for
  - we first edit/add the resource
  - then we fetch the data with the API options
  - @TODO: this can be optimised and will improve performance
    	   picking/selecting it from the insert/update response
- this is an internal change
2018-04-15 12:12:20 +02:00
..
index.js Fetch relations by default when insert/updating posts (#9568) 2018-04-15 12:12:20 +02:00
listeners.js Fixed model events and transactions (#9524) 2018-04-06 18:19:45 +02:00
token.js Bump dependencies (#9513) 2018-03-19 16:27:06 +01:00
utils.js Import lib/common only 2017-12-12 10:28:13 +01:00