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

Bind Query Parameter to an struct #67

Open
jkroepke opened this issue Jul 14, 2023 · 0 comments
Open

Bind Query Parameter to an struct #67

jkroepke opened this issue Jul 14, 2023 · 0 comments

Comments

@jkroepke
Copy link

Hi there!

I would be great, of binder would support to bind a query parameter to an struct.

Example:

type query struct {
	a struct {
		a string
		b string
		c string
		d string
	} `query:"a"`
}

and a[a]=b would map to query.a.a. This would be helpful, if my own application includes structs from 3rd party vendors, where I cant attach additional query metadata.

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