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

Add the var type descriptor to the default statement in the expression editor #523

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

nipunayf
Copy link
Contributor

Purpose

For cases such as the config variables, the statement is injected to the module level, and an assignment statement like_ = 12is invalid. Hence, adding the typevarif the type is not specific in the provided node.

@nipunayf nipunayf added the Area/FlowModel Related to the flow model generation LS extension label Dec 16, 2024
@nipunayf nipunayf changed the title Add the var type descriptor to the default statement in the expression editor Add the var type descriptor to the default statement in the expression editor Dec 16, 2024
@nipunayf nipunayf requested a review from Copilot December 16, 2024 13:24

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • flow-model-generator/modules/flow-model-generator-ls-extension/src/test/resources/diagnostics/config/variable1.json: Language not supported
@hasithaa hasithaa merged commit db4adc6 into ballerina-platform:main Dec 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/FlowModel Related to the flow model generation LS extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants