Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support raw query string #3911

Merged
merged 5 commits into from Nov 25, 2020
Merged

Support raw query string #3911

merged 5 commits into from Nov 25, 2020

Conversation

hamnis
Copy link
Contributor

@hamnis hamnis commented Nov 24, 2020

  • Lazily parse Query by access of "pairs" variable
  • Add raw for access and withRaw to replace the internal string representation

This should hopefully be binary compatible, lets see what MIMA says.

- Lazily parse Query by access of "pairs" variable
- Add raw for access and withRaw to replace the internal string representation
Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

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

This is outstanding! Need to fix MiMa, but there's a way.

core/src/main/scala/org/http4s/Query.scala Show resolved Hide resolved
core/src/main/scala/org/http4s/Query.scala Outdated Show resolved Hide resolved
core/src/main/scala/org/http4s/Query.scala Outdated Show resolved Hide resolved
core/src/main/scala/org/http4s/Query.scala Outdated Show resolved Hide resolved
@rossabaker rossabaker added this to the 0.21.12 milestone Nov 24, 2020
Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

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

Looks great.

/cc @drwlrsn, whose work this will enable. Look for it in http4s-0.21.12 and 1.0.0-M8.

@rossabaker
Copy link
Member

Trying to trigger GitHub Action

@rossabaker rossabaker closed this Nov 24, 2020
@rossabaker rossabaker reopened this Nov 24, 2020
Copy link
Member

@rossabaker rossabaker left a comment

Choose a reason for hiding this comment

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

I think that's the best we can do without breaking bincompat.

@rossabaker rossabaker merged commit b7fd223 into http4s:series/0.21 Nov 25, 2020
@hamnis hamnis deleted the query/either-raw-or-parsed branch January 19, 2021 06:45
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.

None yet

2 participants