You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems some behavior has changed since I last updated liberator and broke some of my endpoints. A resource that previously returned a JSON response with a key named status now incorrectly puts that value into the status code. As this is a large system with other dependencies, it's infeasible to change the response keys, for example, renaming the key from status to page-status. Can you advise on a way to keep the status key in the response in this new version of liberator, perhaps disabling the new behavior?
I believe it could be this update in 0.13 that broke the functionality I've been relying on:
New in 0.13
- Optionally a value can be specified for ring-response together with a ring map. This value is coerced to a response like liberator does by default while the ring map makes it possible to override whatever part of the response.
The text was updated successfully, but these errors were encountered:
Hi, thanks so much for making liberator.
It seems some behavior has changed since I last updated liberator and broke some of my endpoints. A resource that previously returned a JSON response with a key named
status
now incorrectly puts that value into the status code. As this is a large system with other dependencies, it's infeasible to change the response keys, for example, renaming the key fromstatus
topage-status
. Can you advise on a way to keep thestatus
key in the response in this new version of liberator, perhaps disabling the new behavior?I believe it could be this update in 0.13 that broke the functionality I've been relying on:
The text was updated successfully, but these errors were encountered: