Skip to content

Fix double-escaping of parameter bodies for DeepQuery - #1930

Merged
ysangkok merged 3 commits into
haskell-servant:masterfrom
leo-artificial:deepquery-haslink-fix
Nov 11, 2026
Merged

ysangkok merged 3 commits into
haskell-servant:masterfrom
leo-artificial:deepquery-haslink-fix

Conversation

@leo-artificial

@leo-artificial leo-artificial commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Implements the fix described in #1929.

@leo-artificial
leo-artificial marked this pull request as ready for review November 5, 2026 15:12
Comment on lines -207 to -208
let exampleQuery = BookQuery{author = "Herbert", year = 1965}
apiLink bFilter exampleQuery `shouldBeLinkUnescaped` "books?filter[author]=Herbert&filter[year]=1965"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to add a test example using a date, like you had in the issue #1929 ?

@ysangkok
ysangkok merged commit a08f382 into haskell-servant:master Nov 11, 2026
2 of 10 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.

3 participants