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

Incorrect docs for Url.Parser.query #36

Open
malaire opened this issue Oct 20, 2019 · 0 comments
Open

Incorrect docs for Url.Parser.query #36

malaire opened this issue Oct 20, 2019 · 0 comments

Comments

@malaire
Copy link

malaire commented Oct 20, 2019

Documentation of Url.Parser.query says

This may be handy if you need query parameters but are not parsing any path segments.

but it is not possible to parse query parameters without path segments - see #17.

ktosiek added a commit to ktosiek/url that referenced this issue Sep 23, 2023
Parsing just a query requires additional steps.

Current text suggests a parser created with `Parser.query` ignores the path, but it doesn't, and it trips people up: see elm#36 and elm#17.
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

No branches or pull requests

1 participant