-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Unknow Type when binding slice of struct in formdata request #1673
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
Comments
Could you please provide a full working example? |
Thank you for your response, please find this repo contains a running example You may use this curl request to reproduce the issue
|
Thanks for the example. It help me to understand your needs. Sadly the current implementation of the Echo DefaultBinder doesn't support your use case. |
The binder has seen some improvments to allow manual binding using the fluent binder or add a customer binder implementation. See the docs for: |
Issue Description
can not bind a slice of struct when the request type is formdata
Checklist
Expected behaviour
Bind the formdata into the struct
Actual behaviour
Dose not bind formdata request and returns unknown type //err := c.Bind(s)
Steps to reproduce
when sending request
Working code to debug
Version/commit
The text was updated successfully, but these errors were encountered: