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 TypeMethodDescriptionvoid
configure
(RuntimeWiring.Builder builder) Apply changes to theRuntimeWiring.Builder
such as registeringDataFetcher
s, custom scalar types, and more.default void
configure
(RuntimeWiring.Builder builder, List<WiringFactory> container) Variant ofconfigure(RuntimeWiring.Builder)
that also collectsWiringFactory
instances that are then combined as one viaCombinedWiringFactory
.
-
Method Details
-
configure
Apply changes to theRuntimeWiring.Builder
such as registeringDataFetcher
s, custom scalar types, and more.- Parameters:
builder
- the builder to configure
-
configure
Variant ofconfigure(RuntimeWiring.Builder)
that also collectsWiringFactory
instances that are then combined as one viaCombinedWiringFactory
.- Parameters:
builder
- the builder to configurecontainer
- the list of configured factories to add or insert into
-