dgs-examples-java
dgs-examples-java copied to clipboard
How to use extends keyword of Java in Graphql
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.