mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
96e87d6798
refs https://github.com/TryGhost/Team/issues/1131 This adds a mapping between the status property used in the domain & API and the active column used in the database. As we only have the usecase of filtering by `status` right now, we have not added support for all the other columns. Instead of these potentially erroring where the column name does not match the property name in the domain/api - we've added a transformer which will ignore all filters for properties other than `status`. This follows postels law, in that we can be liberal with the filters we accept, but conservative in the ones we implement. |
||
---|---|---|
.. | ||
application | ||
domain |