-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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: supporte moving default lists for xml parser #3087
Conversation
Codecov Report
@@ Coverage Diff @@
## master #3087 +/- ##
==========================================
+ Coverage 97.05% 97.06% +0.01%
==========================================
Files 330 330
Lines 9529 9534 +5
Branches 1750 1751 +1
==========================================
+ Hits 9248 9254 +6
+ Misses 281 280 -1
Continue to review full report at Codecov.
|
Currently for all xml service, the parser inserts empty array [] when a list member doesn't exist in xml string. It was introduced long ago: aws@eae5b32 This change introduce a new key in metadata called xmlNoDefaultLists. If set to true, xml parser will not try to insert default empty array if the member doesn't exist. This key is only applicable to rest-xml, query protocol services.
993903d
to
1974053
Compare
1974053
to
ab093ce
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just one nit
Co-Authored-By: Trivikram Kamat <16024985+trivikr@users.noreply.github.com>
@trivikr Thanks a lot! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread. |
Currently for all xml service, the parser inserts empty
array [] when a list member doesn't exist in xml string.
It was introduced long ago: eae5b32
This change introduce a new key in metadata called
xmlNoDefaultLists
. If set to true, xml parser will nottry to insert default empty array if the member doesn't
exist. This key is only applicable to rest-xml, query
protocol services.
Checklist
npm run test
passesnpm run add-change