-
Notifications
You must be signed in to change notification settings - Fork 758
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
[BUG]: Config Generation fails to add the name of Readonly Records to the Config Schema #41906
Comments
This tool is implemented in the lang repository, hence transferring this issue |
The type converter in config schema generation fails to add the name at https://github.com/ballerina-platform/ballerina-lang/blob/master/compiler/ballerina-lang/src/main/java/io/ballerina/projects/internal/configschema/TypeConverter.java#L185 The reason for this issue is a compiler bug which is reported at #41912 |
Please see #41912 (comment). |
This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now. |
Description:
Config generation should include the record name in the config schema. However, when the record is read-only, it fails to include the record name.
Steps to reproduce:
Sample Code: https://github.com/chalindukodikara/ballerina-codes/tree/master/config-generation-name-issue
Config Schema: https://github.com/chalindukodikara/ballerina-codes/blob/master/config-generation-name-issue/target/bin/config-schema.json
Related Issues (optional):
This issue affects Choreo Console for Ballerina components.
https://github.com/wso2-enterprise/choreo/issues/25862
Suggested Labels (optional):
Priority/High
The text was updated successfully, but these errors were encountered: