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 -
Method Summary
Modifier and TypeMethodDescriptiongetExpansionRootPaths
(Type type) boolean
isExpansionField
(Member accessor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.graphql.spi.GraphQLExtensions
contributeFields, contributeTypeName, getAdditionalTypeBuilders, getDataFetcher, getDataFetcherThunk, getInstrumentation, getValueTransformer
-
Constructor Details
-
ExpansionFieldsExtension
public ExpansionFieldsExtension()
-
-
Method Details
-
isExpansionField
- Specified by:
isExpansionField
in interfacecom.atlassian.graphql.spi.GraphQLExtensions
-
getExpansionRootPaths
- Specified by:
getExpansionRootPaths
in interfacecom.atlassian.graphql.spi.GraphQLExtensions
-