Ghost/test/unit/api
Hannah Wolfe 70d15e077b
Refactored mapper into individual files (#14328)
refs: https://github.com/TryGhost/Toolbox/issues/245

- Ghost's API framework has a mixed up concept of what a serializer is. Mappers are true serializers! What we call serializers are little more than a small formatting step.
- This PR splits mappers into individual files and uses the endpoint's docname as the mapper name. This will help us to automate the calling of a mapper for an endpoint later.
- This is one tiny step in reworking the framework to need less code to make it work, and to have clearer concepts for how to do things.
2022-03-16 12:44:11 +00:00
..
canary Refactored mapper into individual files (#14328) 2022-03-16 12:44:11 +00:00
shared Improved coverage of api serializer 2022-03-09 20:02:15 +00:00