Skip to content

Y25-319 - [PR] [Master] Add compatibility for obsolete Rack status symbols#6

Merged
yoldas merged 2 commits intomasterfrom
y25-319-from-master-as-psd-we-need-to-fix-the-json-api-resource-incompatibility-with-rack-which-is-causing-422-errors-to-fail-with-a-status-of-0
Sep 19, 2025
Merged

Y25-319 - [PR] [Master] Add compatibility for obsolete Rack status symbols#6
yoldas merged 2 commits intomasterfrom
y25-319-from-master-as-psd-we-need-to-fix-the-json-api-resource-incompatibility-with-rack-which-is-causing-422-errors-to-fail-with-a-status-of-0

Conversation

@yoldas
Copy link
Member

@yoldas yoldas commented Sep 16, 2025

Using the Rack::Utils.status_code method, the following status symbols can be supported for the status code 422.

Rack 2.2 :unprocessible_entity
Rack 3.1 :unprocessible_content and :unprocessible_entity

This PR is for releasing a new sanger-jsonapi-resources 0.2 version for Traction.

@yoldas yoldas merged commit ffc23d8 into master Sep 19, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant