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
I've been working on some custom formatters and realized that there is no control over the headers and status within the formatter or error formatter. The change is relatively easy to make but it will break backwards compatibility because the custom formatters will need to take new additional parameters. The other option would be to exec custom formatters against the grape formatter middleware and expose functions in a DSL like format.
Thoughts?
The text was updated successfully, but these errors were encountered:
I've been working on some custom formatters and realized that there is no control over the headers and status within the formatter or error formatter. The change is relatively easy to make but it will break backwards compatibility because the custom formatters will need to take new additional parameters. The other option would be to exec custom formatters against the grape formatter middleware and expose functions in a DSL like format.
Thoughts?
The text was updated successfully, but these errors were encountered: