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

fix(torna): 🐛 retain query parameters when ContentType is multipart/form-data #962

Conversation

linwumingshi
Copy link
Collaborator

Resolved an issue where query parameters (annotated with @RequestParam) were lost when the ContentType was set to multipart/form-data and pushed to Torna.

  • Added logic to properly handle and set query parameters in TornaUtil.
  • Ensured all parameter types (Path, Query, Body) are correctly processed and included.

Closes #961

…orm-data

Resolved an issue where query parameters (annotated with `@RequestParam`) were lost when the ContentType was set to multipart/form-data and pushed to Torna.
- Added logic to properly handle and set query parameters in TornaUtil.
- Ensured all parameter types (Path, Query, Body) are correctly processed and included.

Closes TongchengOpenSource#961
Copy link

Thanks for your this PR. 🙏
Please check again for your PR changes whether contains any usage configuration change such as Add new configuration, Change default value of configuration.
If so, please add or update documents(markdown type) in docs/ for repository smart-doc-group/smart-doc-group.github.io

In addition, if you have added new features, please provide example code in the repository smart-doc-group/smart-doc-example-cn. This will help other users understand how to use the new features.


感谢您提交的PR。 🙏
请再次查看您的PR内容,确认是否包含任何使用方式 配置参数的变更,如:新增配置参数修改默认配置等操作。
如果是,请确保在提交之前,在仓库smart-doc-group/smart-doc-group.github.io中的docs/目录下添加或更新文档(markdown格式)。

另外,如果您添加了新功能,请在仓库smart-doc-group/smart-doc-example-cn中提供示例代码。这将帮助其他用户了解如何使用新功能。

@shalousun shalousun merged commit e9fa634 into TongchengOpenSource:master Nov 26, 2024
12 of 13 checks passed
@linwumingshi linwumingshi deleted the fix/torna-multipart-form-data-query-param-lost branch November 26, 2024 09:17
@shalousun shalousun added this to the 3.1.0 milestone Dec 7, 2024
@shalousun shalousun added the bug Something isn't working label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants