You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we use env.getRuntime().callFunction() we need to provide module details (org, name, majorVersion). But when we define a module, the majorVersion is optional and we have several usecases where we do not know the module version.
When we pass the module without majorVersion for the env.getRuntime().callFunction() method, it fails to read the module from runtimeValueCreators. The reason is that the runtimeValueCreators contains module names with version (e.g. ballerina/http:2) and what we search does not contain the version.
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered:
Description
When we use env.getRuntime().callFunction() we need to provide module details (org, name, majorVersion). But when we define a module, the
majorVersion
is optional and we have several usecases where we do not know the module version.When we pass the module without majorVersion for the env.getRuntime().callFunction() method, it fails to read the module from runtimeValueCreators. The reason is that the runtimeValueCreators contains module names with version (e.g. ballerina/http:2) and what we search does not contain the version.
Steps to Reproduce
No response
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: