-
Notifications
You must be signed in to change notification settings - Fork 54
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
Add Relaxed Data Binding Support for Client Generation #1793
Add Relaxed Data Binding Support for Client Generation #1793
Conversation
Quality Gate passedIssues Measures |
@@ -301,6 +301,10 @@ public type ConnectionConfig record {| | |||
http:ProxyConfig proxy?; | |||
# Enables the inbound payload validation functionality which provided by the constraint package. Enabled by default | |||
boolean validation = true; | |||
# Enables or disables relaxed data binding on the client side. Disabled by default. |
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.
# Enables or disables relaxed data binding on the client side. Disabled by default. | |
# Enables or disables relaxed data binding on the client side. Enabled by default. |
String apiComment = "Enables or disables relaxed data binding on the client side. " + | ||
"Disabled by default.\nWhen enabled, the JSON data will be projected to the Ballerina record type" + | ||
" and during the projection, \nnil values will be considered as optional fields and absent fields " + | ||
"will be considered for nilable types"; |
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.
String apiComment = "Enables or disables relaxed data binding on the client side. " + | |
"Disabled by default.\nWhen enabled, the JSON data will be projected to the Ballerina record type" + | |
" and during the projection, \nnil values will be considered as optional fields and absent fields " + | |
"will be considered for nilable types"; | |
String apiComment = "Enables relaxed data binding on the client side. When enabled, `nil` values are treated as optional, \nand absent fields are handled as `nilable` types. Enabled by default."; |
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.
+1
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.
+1 to address review suggestions in separate PR
Purpose
Fixes: #7413
See also: #7366
Goals
Approach
User stories
Release note
Documentation
Training
Certification
Marketing
Automation tests
Security checks
Samples
Related PRs
Migrations (if applicable)
Test environment
Learning