Skip to content

re-calculate n lengths after exploding#723

Merged
hadley merged 4 commits into
r-lib:mainfrom
Kevanness:main
May 5, 2025
Merged

re-calculate n lengths after exploding#723
hadley merged 4 commits into
r-lib:mainfrom
Kevanness:main

Conversation

@Kevanness
Copy link
Copy Markdown
Contributor

Closes #719

  • Add a test for mixed length query params
  • Replace handling of n > 1 in .explode with re-calculating lengths.

@hadley
Copy link
Copy Markdown
Member

hadley commented May 4, 2025

Looks good! Can you please add a bullet to the top of NEWS.md? It should briefly describe the change and end with (@yourname, #issuenumber).

@Kevanness
Copy link
Copy Markdown
Contributor Author

Added the news bullet, wasn't really sure if it was needed since it wasn't a user-facing change.

@hadley
Copy link
Copy Markdown
Member

hadley commented May 5, 2025

Isn't it a user facing problem? I thought it created an incorrect output?

@Kevanness
Copy link
Copy Markdown
Contributor Author

I guess it is, multi_dots() isn't exported so I wasn't thinking it was a user facing change, but it does fix the user facing problem.

Comment thread NEWS.md Outdated
Co-authored-by: Hadley Wickham <hadley@posit.co>
@hadley hadley merged commit da2724a into r-lib:main May 5, 2025
11 of 13 checks passed
@hadley
Copy link
Copy Markdown
Member

hadley commented May 5, 2025

Thank you!

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.

multi_dots doesn't re-calculate n lengths after exploding

2 participants