Class ConfluenceGraphQLExtensions
java.lang.Object
com.atlassian.graphql.spi.CombinedGraphQLExtensions
com.atlassian.confluence.plugins.graphql.extensions.ConfluenceGraphQLExtensions
- All Implemented Interfaces:
com.atlassian.graphql.spi.GraphQLExtensions
,com.atlassian.graphql.spi.GraphQLTypeContributor
public class ConfluenceGraphQLExtensions
extends com.atlassian.graphql.spi.CombinedGraphQLExtensions
Provides Confluence-specific types and behaviour for graphql.
- Since:
- 6.12.0
-
Constructor Summary
ConstructorDescriptionConfluenceGraphQLExtensions
(com.atlassian.plugin.PluginAccessor pluginAccessor, ApiRestEntityFactory apiRestEntityFactory) When adding special handling of type serialization for GraphQL, consider providing the same handling for REST serialization handlers inSerializerModule
-
Method Summary
Modifier and TypeMethodDescriptiongraphql.execution.instrumentation.Instrumentation
Methods inherited from class com.atlassian.graphql.spi.CombinedGraphQLExtensions
combine, combine, contributeFields, contributeTypeName, getAdditionalTypeBuilders, getDataFetcher, getDataFetcherThunk, getExpansionRootPaths, getValueTransformer, isExpansionField
-
Constructor Details
-
ConfluenceGraphQLExtensions
public ConfluenceGraphQLExtensions(com.atlassian.plugin.PluginAccessor pluginAccessor, ApiRestEntityFactory apiRestEntityFactory) When adding special handling of type serialization for GraphQL, consider providing the same handling for REST serialization handlers inSerializerModule
-
-
Method Details
-
getInstrumentation
public graphql.execution.instrumentation.Instrumentation getInstrumentation()- Specified by:
getInstrumentation
in interfacecom.atlassian.graphql.spi.GraphQLExtensions
- Overrides:
getInstrumentation
in classcom.atlassian.graphql.spi.CombinedGraphQLExtensions
-