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 function definition support for the data mapper #590

Merged
merged 9 commits into from
Feb 11, 2025

Conversation

nipunayf
Copy link
Contributor

Purpose

Extend the function definition functionality to the data mapper by implementing the data mapper definition for the getSourceCode, getNodeTemplate, and functionDefinition APIs. We can reuse the function form in the UI by specifying "DATA_MAPPER_DEFINITION" in the node template, while keeping the rest of the implementation unchanged.

Remarks: We can create a more abstract layer for the function form to promote code reusability. We can explore this approach as we introduce more functions to the diagram to capture more requirements.

@nipunayf nipunayf added the Area/FlowModel Related to the flow model generation LS extension label Feb 11, 2025
@nipunayf nipunayf merged commit 0b33cfe into ballerina-platform:main Feb 11, 2025
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.

2 participants