Open manishagupta81 opened 1 day ago
Thank you for reporting this issue.
This is a known limitation in the current form. Currently, only special alphanumeric characters separated by a slash (/
) are supported. To include special characters, they need to be escaped using \
. We are working on a fix that will be available in a future update.
Use the following rules to make the URI path compatible with Ballerina syntax:
Rules:
\
).
/zvdz/mi-qsg/v1.0
becomes /zvdz/mi\-qsg/v1\.0
./abc/123/
becomes /abc/\123
json
, string
, int
, service
, client
, etc. should be prefixed with a single quote ('
).
'service
, 'int
, 'client
.Recover Existing Code
</>
icon on the file tab, located next to the run button.
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