-
Notifications
You must be signed in to change notification settings - Fork 32
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
Remove some limitation from the output of toRecord() #418
Conversation
Codecov Report
@@ Coverage Diff @@
## master #418 +/- ##
============================================
- Coverage 90.58% 90.35% -0.23%
Complexity 82 82
============================================
Files 7 7
Lines 361 363 +2
Branches 134 133 -1
============================================
+ Hits 327 328 +1
- Misses 21 22 +1
Partials 13 13
Continue to review full report at Codecov.
|
ballerina/xmldata.bal
Outdated
JsonOptions newOptions = { | ||
arrayEntryTag: options.arrayEntryTag == "" ? "item" : options.arrayEntryTag, | ||
attributePrefix: options.attributePrefix == "" ? "@" : options.attributePrefix | ||
}; |
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.
Do we need this? why can't we just use input options
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.
Removed.
@kalaiyarasiganeshalingam please update the changelog |
Updated. |
Purpose
The following limitation remove from the output of toRecord()
_
instead of:
. Now, this pr has removed that and allowed users to use ":".\#content
.Related to ballerina-platform/ballerina-library#2810
Examples
Checklist