wso2 / ballerina-vscode

To keep Ballerina VSCode plugin related issues, discussions, etc.
Apache License 2.0
42 stars 20 forks source link

Type Diagram incorrectly generates for the GCP Demo with Update 6 #504

Open praneesha opened 1 year ago

praneesha commented 1 year ago

Description:

The Type Diagram for the GCP Microservices demo[1] didn't generate properly in the Architecture View in the Ballerina VS Code extension with the Ballerina Swan Lake Update 6 release.

[1] https://github.com/ballerina-guides/gcp-microservices-demo

Steps to reproduce:

Affected Versions:

OS, DB, other environment details and versions:

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

SumayyaZiyad commented 1 year ago

Can you share a screenshot of the generated diagram, please?

praneesha commented 1 year ago

Below is the screen recording to reproduce the issue. This happens with Swan Lake Update 6 and works fine with Update 5. The source code used can be found at https://github.com/ballerina-guides/gcp-microservices-demo.

https://github.com/wso2/ballerina-plugin-vscode/assets/11707273/d8ba4786-9392-4a74-bf47-90fc68de9e59

Below is the screenshot of how the diagram gets generated incorrectly.

Screenshot 2023-06-19 at 09 59 05
SumayyaZiyad commented 1 year ago

We have identified the issue and was able to reproduce it. @AzeemMuzammil is looking into it. He will provide an update after debugging the model generation implementation.