[Bug]: Api convertJsonToRecord()
Fails with Readonly Record Fields
#43969
Labels
convertJsonToRecord()
Fails with Readonly Record Fields
#43969
Description
The GraphQL native uses the
convertJsonToRecord()
API fromio.ballerina.runtime.api.utils.JsonUtils
to convert a JSON value into a record. However, it throws the following exception when processing a JSON value containing readonly fields:Record Type:
Value:
Steps to Reproduce
Run following GraphQL service with given query and variables.
Query:
variables:
Affected Version(s)
u12
OS, DB, other environment details and versions
No response
Related area
-> Runtime
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: