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

[Bug]: The Run CodeLens does not work on GraphQL services #42670

Open
nipunayf opened this issue Apr 30, 2024 · 0 comments
Open

[Bug]: The Run CodeLens does not work on GraphQL services #42670

nipunayf opened this issue Apr 30, 2024 · 0 comments
Labels
Area/CodeLens Language Server Code Lens related issues Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug

Comments

@nipunayf
Copy link
Contributor

Description

$title, although it works fine when run with the CLI command. Note that this is the flow described in the learning pages. https://ballerina.io/learn/vs-code-extension/try-the-services/try-graphql-services/

Screen.Recording.2024-04-30.at.5.50.22.PM.mov

Steps to Reproduce

Execute the Run code lens for the following service

import ballerina/graphql;

# A service representing a network-accessible GraphQL API.
service / on new graphql:Listener(8090) {

    # A resource for generating greetings.
    # + name - the input string name
    # + return - string name with greeting message or error
    resource function get greeting(string name) returns string|error {
        // Send a response back to the caller.
        if name is "" {
            return error("name should not be empty!");
        }
        return "Hello, " + name;
    }
}
    

Affected Version(s)

Ballerina 2201.8.5 (Swan Lake Update 8)

OS, DB, other environment details and versions

OS: macOS 14.4.1 23E224
JDK: openjdk 17.0.8 2023-07-18

Related area

-> Compilation

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

@nipunayf nipunayf added Type/Bug Team/LanguageServer Language Server Implementation related issues. #Compiler Area/CodeLens Language Server Code Lens related issues labels Apr 30, 2024
@nipunayf nipunayf changed the title [Bug]: Fast run does not work on GraphQL services. [Bug]: Fast run does not work on GraphQL services Apr 30, 2024
@nipunayf nipunayf changed the title [Bug]: Fast run does not work on GraphQL services [Bug]: The Run CodeLens does not work on GraphQL services Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/CodeLens Language Server Code Lens related issues Team/LanguageServer Language Server Implementation related issues. #Compiler Type/Bug
Projects
None yet
Development

No branches or pull requests

1 participant