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

ShouldBindQuery does not work properly #4106

Open
KoNekoD opened this issue Nov 25, 2024 · 1 comment
Open

ShouldBindQuery does not work properly #4106

KoNekoD opened this issue Nov 25, 2024 · 1 comment

Comments

@KoNekoD
Copy link

KoNekoD commented Nov 25, 2024

  • With issues:
    • It can't parse /api/characters?filter[name]=Shrek

Description


type CharactersFilter struct {
	Name *string `json:"name" form:"name"`
}

type SearchDTO[Filter any] struct {
	Pagination *PaginationDto `json:"pagination"`
	Filter     *Filter        `json:"filter"`
}

How to reproduce

Send request to /api/characters?filter[name]=Shrek

@KoNekoD
Copy link
Author

KoNekoD commented Nov 25, 2024

I am familiar with the previous discussions, I intend to add the ability to parse nested Query Strings

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