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) booleanisExpansionField(Member accessor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isExpansionFieldin interfacecom.atlassian.graphql.spi.GraphQLExtensions
-
getExpansionRootPaths
- Specified by:
getExpansionRootPathsin interfacecom.atlassian.graphql.spi.GraphQLExtensions
-