Class 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 Detail

      • 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 in SerializerModule
    • Method Detail

      • getInstrumentation

        public graphql.execution.instrumentation.Instrumentation getInstrumentation()
        Specified by:
        getInstrumentation in interface com.atlassian.graphql.spi.GraphQLExtensions
        Overrides:
        getInstrumentation in class com.atlassian.graphql.spi.CombinedGraphQLExtensions