0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-04-01 02:41:39 -05:00
ghost/test/unit
Hannah Wolfe 3bd4d0989a Added default serializer + handling
refs: https://github.com/TryGhost/Toolbox/issues/245

- Added a serializer called default to the canary API
  - Ideally, this would be part of the shared framework, but this would change v2/v3 and we're about to get rid of them
  - Therefore, we change just canary for now, and we can refactor again later.
- Added wiring to handler that uses the default serializer, if there is a default, and isn't an explicit serializer for the endpoint
- Removed the invites serializer, so that one endpoint now uses the default

Note: previous commits have added explicit serializers to every endpoint, this is the first step towards paring
that back so that we have less serializers overall, not more!
2022-03-22 13:52:32 +00:00
..
api Added default serializer + handling 2022-03-22 13:52:32 +00:00
frontend Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
server Enabled Admin integration for tiers and offers API (#14325) 2022-03-16 16:46:26 +05:30
shared Added test-specific default-settings.json configuration 2022-02-21 20:06:20 +13:00