-
Notifications
You must be signed in to change notification settings - Fork 46
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
Implement the LS APIs to support function definitions #573
Conversation
e8ed787
to
d9b702c
Compare
...el-generator-core/src/main/java/io/ballerina/flowmodelgenerator/core/ModuleNodeAnalyzer.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have test cases to validate if this new API works for function names with special characters like escaped/unicode characters (e,g, function names with spaces)?
Added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Purpose
The PR introduces the following changes to the existing APIs:
getNodeTemplate
APIgetSourceCode
APIThe PR introduces a new API endpoint
flowDesignService/functionDefinition
that retrieves function definitions using the components API response.