wso2 / ballerina-vscode

To keep Ballerina VSCode plugin related issues, discussions, etc.
Apache License 2.0
41 stars 20 forks source link

GraphQL API Designer doesn't work with expression-bodied resource methods in the root service level #550

Open MaryamZi opened 2 months ago

MaryamZi commented 2 months ago

Description: $title.

Steps to reproduce:

import ballerina/graphql;

service on new graphql:Listener(9000) {
    // // Works for this.
    // resource function get greeting() returns string {
    //     return "Hello!";
    // }

    resource function get greeting() returns string => "Hello!";
}

Affected Versions: Ballerina 2201.8.6 Ballerina Plugin v4.5.8