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

[GraphQL API Designer] Ctrl + click works only for GraphQL root service-level (operation) fields #549

Open
MaryamZi opened this issue Apr 15, 2024 · 0 comments

Comments

@MaryamZi
Copy link
Member

MaryamZi commented Apr 15, 2024

Description:
$title. Can't we support the same for output object types?

Steps to reproduce:

import ballerina/graphql;

service class Address {
    resource function get number() returns int {
        return 100;
    }

    resource function get street() returns string {
        return "";
    }

    resource function get city() returns string {
        return "";
    }
}

service class Profile {
    resource function get id() returns int {
        return 100;
    }

    resource function get name() returns string {
        return "";
    }

    resource function get address() returns Address {
        return new;
    }
}

service on new graphql:Listener(9000) {
    resource function get profile() returns Profile {
        return new;
    }
}

Ctrl + click works only for /root - profile. Can we make it work for Profile and Address too? May apply to records also, but would be with fields (not methods).

Affected Versions:
Ballerina 2201.8.6
Ballerina Plugin v4.5.8

@MaryamZi MaryamZi changed the title [GraphQL API Designer] Ctrl + click works only for GraphQL entry service-level (operation) fields [GraphQL API Designer] Ctrl + click works only for GraphQL root service-level (operation) fields Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant