Interface RuntimeWiringConfigurer

All Known Implementing Classes:
AnnotatedControllerConfigurer

public interface RuntimeWiringConfigurer
Callbacks that allow applying changes to the RuntimeWiring.Builder in GraphQlSource.Builder.
Since:
1.0.0
Author:
Rossen Stoyanchev
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configure(graphql.schema.idl.RuntimeWiring.Builder builder)
    Apply changes to the RuntimeWiring.Builder such as registering DataFetchers, custom scalar types, and more.
    default void
    configure(graphql.schema.idl.RuntimeWiring.Builder builder, List<graphql.schema.idl.WiringFactory> container)
    Variant of configure(RuntimeWiring.Builder) that also collects WiringFactory instances that are then combined as one via CombinedWiringFactory.
    default void
    setTypeDefinitionRegistry(graphql.schema.idl.TypeDefinitionRegistry registry)
    Provides the configurer access to the TypeDefinitionRegistry.
  • Method Details

    • setTypeDefinitionRegistry

      default void setTypeDefinitionRegistry(graphql.schema.idl.TypeDefinitionRegistry registry)
      Provides the configurer access to the TypeDefinitionRegistry.
      Parameters:
      registry - the registry
      Since:
      1.3.0
    • configure

      void configure(graphql.schema.idl.RuntimeWiring.Builder builder)
      Apply changes to the RuntimeWiring.Builder such as registering DataFetchers, custom scalar types, and more.
      Parameters:
      builder - the builder to configure
    • configure

      default void configure(graphql.schema.idl.RuntimeWiring.Builder builder, List<graphql.schema.idl.WiringFactory> container)
      Variant of configure(RuntimeWiring.Builder) that also collects WiringFactory instances that are then combined as one via CombinedWiringFactory.
      Parameters:
      builder - the builder to configure
      container - the list of configured factories to add or insert into