Skip to content

How to use extends keyword of Java in Graphql #23

@KushagraBindal

Description

@KushagraBindal

I am having a class Foo & Boo

public class Foo{
String a;
}
public class Boo extends Foo{
String b;
}

Boo will be my output object in .graphqls

I am able to get the response of Boo in this. But if I wanted to get the a also as the output of above query then how can we define the type and graphqls.

Is there any support present in dgs framework.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions