0d7f98f4d1
We've got some fairly simple diffing logic here to update the collections which a post is in, the bulk of the changes here are to support the return of a DTO rather than Bookshelf Model. This also helps improve the architecture because we are step closer to removing infrastructure concerns (HTTP Response Headers) from the business logic layer. For now there is a crappy EventString which can be passed back to the controller which can then handle any HTTP related concerns, although long term these should be actual events like PostPublished or PostUpdated. |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
package.json | ||
README.md |