-
Notifications
You must be signed in to change notification settings - Fork 1
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
Creating resources manually through low code #3
Comments
Thank you for reporting this issue. This is a known limitation in the current form. Currently, only special alphanumeric characters separated by a slash ( WorkaroundUse the following rules to make the URI path compatible with Ballerina syntax: Rules:
Recover Existing Code
Proposed Solution Expected from the Team:
|
@manishagupta81 Thank you for your valuable feedback. You've brought up an important point.
There's a slight syntax error in your code. You can fix it by following these steps in the low-code view:
This should resolve the issue you're experiencing. It should generate the correct syntax in the source code.
Explanation Let me clarify the difference between the HTTP client usage of
The HTTP connections expose both of these variations, but we had to pick one to present in the low-code view to keep the UX uncluttered. We chose the resource access syntax, but it seems the remote style might provide a better experience. We will re-evaluate the design and update the UX accordingly. |
Description
Issue with Adding Resource in WSO2 Quick Start Guide
While following the WSO2 Quick Start Guide to create a new resource, I encountered issues when adding a resource manually through Connections -> externalEP -> get. Here are the details:
Steps to Reproduce
/zvdz/mi-qsg/v1.0
(without quotes)."/zvdz/mi-qsg/v1.0"
.invalid type for worker send 'ballerina/http:2.12.2:Client', expected value:Cloneable
invalid usage of the 'check' expression operator: no expression type is equivalent to error type
undefined worker '$missingNode$_0'
missing function keyword
Observation
When I generated the resource using AI, it ran successfully without any errors.
Steps to Reproduce
I still need to try with my upgraded VSCode and mac os
Steps to Reproduce
/zvdz/mi-qsg/v1.0
(without quotes)."/zvdz/mi-qsg/v1.0"
.invalid type for worker send 'ballerina/http:2.12.2:Client', expected value:Cloneable
invalid usage of the 'check' expression operator: no expression type is equivalent to error type
undefined worker '$missingNode$_0'
missing function keyword
Version
VS Code version 1.95
Environment Details (with versions)
macOS Sequoia 15.1
The text was updated successfully, but these errors were encountered: