Class ExpansionFieldsExtension
- java.lang.Object
-
- com.atlassian.confluence.plugins.graphql.extensions.ExpansionFieldsExtension
-
- All Implemented Interfaces:
com.atlassian.graphql.spi.GraphQLExtensions
,com.atlassian.graphql.spi.GraphQLTypeContributor
public class ExpansionFieldsExtension extends Object implements com.atlassian.graphql.spi.GraphQLExtensions
A graphql extension that makes sure fields of type Reference, List and Map are included in the expand= parameter.- Since:
- 6.12.0
-
-
Constructor Summary
Constructors Constructor Description ExpansionFieldsExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getExpansionRootPaths(Type type)
boolean
isExpansionField(Member accessor)
-
-
-
Method Detail
-
isExpansionField
public boolean isExpansionField(Member accessor)
- Specified by:
isExpansionField
in interfacecom.atlassian.graphql.spi.GraphQLExtensions
-
-