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

Example of query string parameters support lists cannot be replicated #38

Closed
ranggakd opened this issue Feb 16, 2024 · 2 comments
Closed

Comments

@ranggakd
Copy link

Under the handling query string parameters section, I try to copy and paste this to my script

@get("/query-list")
def greetings_many(name: list[str]):
    return f"Hello, {', '.join(name)}!"

# example:
# http://localhost:44777/query-list?name=Charlie&name=Lisa&name=Snoopy
# --> Hello, Charlie, Lisa, Snoopy!

example

But it cannot be replicated just the way the example is shown in the documentation. It will prevent newcomer and beginner users from having a better understanding of the way BlackSheep handles query string parameters. Or did I just miss something here?

queries

@RobertoPrevato
Copy link
Member

Hi @ranggakd
Thank You for reporting this error and bug. I am resolving it today.

@ranggakd
Copy link
Author

Thanks for the response. Please close this issue as soon as it is resolved.

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

2 participants