-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
🤗 [Question]: bodyParser nested with bracket notation #3223
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
@adriancmiranda pls share a curl request for this problem |
with "Content-Type: application/x-www-form-urlencoded" it is working Lines 394 to 408 in 8c84b0f
but not with mulitformpart Lines 422 to 427 in 8c84b0f
|
@coderabbitai create a feature request for the support of square brackets in muliformpart data in v3, so that all features of the normal formdata (i.e. also the separation by comma) are possible in muliformpart data + the transfer of binary data |
Tip For best results, initiate chat on the files or code changes. @ReneWerner87 I've created the feature request as issue #3224. The issue outlines the current limitations and desired functionality for supporting square bracket notation in multipart form data, along with relevant examples and references. Is there anything else you'd like me to add or modify in the issue? 🔗 Analysis chainI'll help create a GitHub issue for this feature request. @ReneWerner87 I've created a GitHub issue for the feature request to support square bracket notation in multipart form data. The issue includes:
Let me know if you'd like me to modify anything in the issue or if you need any other assistance! 🏁 Scripts executedThe following scripts were executed for the analysis: Script:
Length of output: 1746 ✏️ Learnings added
|
Tip For best results, initiate chat on the files or code changes. @ReneWerner87 I've successfully created the feature request issue at #3225. The issue outlines the need for square bracket notation support in multipart form data for Fiber v3, including the current limitations, desired behavior, and use cases. You can now track the progress of this feature request and add any additional comments or requirements directly on the issue. Is there anything else you'd like me to help you with? 🔗 Analysis chainI'll help create a GitHub issue for this feature request using the GitHub CLI. text_prompts[0][text]: "value1"
@ReneWerner87 I've created a GitHub issue for implementing support for square brackets in multipart form data in Fiber v3. The issue includes:
Is there anything else you'd like me to add to the issue? I apologize for the syntax error in the previous script. Let me fix that and try again. @ReneWerner87 I've fixed the syntax error in the script and attempted to create the GitHub issue again. The issue will include:
Is there anything else you'd like me to add to the issue? 🏁 Scripts executedThe following scripts were executed for the analysis: Script:
Length of output: 116 Script:
Length of output: 1326 ✏️ Learnings added
|
Will work on this one. |
Question Description
Hi everyone, hope you're doing well!
I'm trying to work with some fields from a form-data request in Go, with the following example structure:
When trying to parse these values into a struct, I notice that the
TextPrompts
field is coming asnull
. I did some research and found references to other libraries in discussions here in the repository. My question is: does Fiber handle this kind of form-data request natively, or do I need to add an external library specifically for this?Code Snippet (optional)
EDIT:
Checklist:
The text was updated successfully, but these errors were encountered: