-
Notifications
You must be signed in to change notification settings - Fork 534
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: delete null value in request body #2042
Conversation
✔️ Deploy Preview for apisix-dashboard ready! 🔨 Explore the source changes: f6a67e1 🔍 Inspect the deploy log: https://app.netlify.com/sites/apisix-dashboard/deploys/610e38eb219f5f000812901b 😎 Browse the preview: https://deploy-preview-2042--apisix-dashboard.netlify.app/ |
Codecov Report
@@ Coverage Diff @@
## master #2042 +/- ##
==========================================
+ Coverage 63.52% 65.35% +1.82%
==========================================
Files 121 121
Lines 3213 3221 +8
Branches 779 782 +3
==========================================
+ Hits 2041 2105 +64
+ Misses 1172 1116 -56
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
merged, thanks a lot |
Please answer these questions before submitting a pull request, or your PR will get closed.
Why submit this pull request?
What changes will this PR take into?
In the optional
InputNumber
component of the entire project, when the user chooses not to fill in, the value of the field in the request body isnull
, which will cause a request error.The correct approach is to delete all fields with
null
values in the request body.Related issues
fix #2019
Checklist: