Repository navigation
fix: the default rejection handler ranks missing query parameters before an expected entity, as Pekko - #91
Merged
Merged
Conversation
…ore an expected entity, as Pekko Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea
…ng cosmetic rejection-handler differences Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea
…bytes */-1); Allow lists methods in no order Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea
luksow
force-pushed
the
rejection-ranking
branch
from
October 18, 2026 19:28
c21439b to
38d8c96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The default rejection handler answered
RequestEntityExpectedRejection(400) beforeMissingQueryParamRejection/InvalidRequiredValueForQueryParamRejection(404); it now uses Pekko's order. A full comparison of the handler against Pekko's also foundMissingAttributeRejectionanswering "Internal Server Error" instead of Pekko's "There was an internal server error." (fixed) and three cosmetic differences (deduplicated 406/415/Allowlists, media type without parameters in the 415 message, noContent-Rangefor an unknown-length 416), now listed in migration.md.Part of the 0.7.1 stack (audit 2 minor items). Stacked: merge in order #1 → #10; each PR is based on the previous one, so none of them conflicts on
docs/migration.md. Every PR: test written first and seen failing, full local verify (Scala 3 + 2.13 tests, JS/Native compile, docs, MiMa against 0.7.0), independent review with its findings fixed.🤖 Generated with Claude Code
https://claude.ai/code/session_01HBTSjzt7V6GBL6i5bqnYea