Skip to content
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

Docgen API throws errors when compiling old balas #254

Open
anupama-pathirage opened this issue Oct 22, 2024 · 1 comment
Open

Docgen API throws errors when compiling old balas #254

anupama-pathirage opened this issue Oct 22, 2024 · 1 comment
Labels

Comments

@anupama-pathirage
Copy link
Contributor

@xlight05 cloned issue wso2-enterprise/ballerina-registry#1999 on 2023-03-16:

Description:

$Subject. This occurs with the new change of not generating api docs if it compilation errors with 2201.4.0.

Since ballerina central just uses project API of the latest stable ballerina version to compile the balas uploaded to central to generate api docs, with the above recent change, when an old bala compiled with an older version, is pushed to central, it fails to generate api docs.

We need to think of possible ways to solve this issue.

  1. Pack API docs, triggers and connectors json with the bala and central can consume them. This will remove the need to compile bala from central.

  2. Central needs to compile the package with the pushed ballerina lang dist version. Therefore needs multi-distribution support. This will complicate the implementation a lot.

@anupama-pathirage
Copy link
Contributor Author

@xlight05 commented on 2023-03-16:

Reverted the change until we have a proper solution from the central side.

ballerina-platform/ballerina-lang#39901

ballerina-platform/ballerina-lang#39899

ballerina-platform/ballerina-lang#39902

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant