Cannot make the graphql:ListenerConfiguration
as a configurable variable
#7502
Labels
graphql:ListenerConfiguration
as a configurable variable
#7502
Description
When I try to make the
graphql:ListenerConfiguration
record value as a configurable. The program fails at runtimeSteps to Reproduce
Run the following Ballerina code:
Runtime error:
This is because we are trying to overwrite the
httpVersion
in the listenerinit
function - https://github.com/ballerina-platform/module-ballerina-graphql/blob/73ddff7b7627eed9f263ddeb88dc6a3144c80c28/ballerina/listener.bal#L41 which fails for values from configurable variable since the value is readonly.Version
Ballerina Swan Lake Update 10
Environment Details (with versions)
No response
The text was updated successfully, but these errors were encountered: