Package io.sentry.spring.graphql
Class SentryBatchLoaderRegistry
java.lang.Object
io.sentry.spring.graphql.SentryBatchLoaderRegistry
- All Implemented Interfaces:
org.springframework.graphql.execution.BatchLoaderRegistry
,org.springframework.graphql.execution.DataLoaderRegistrar
@Internal
public final class SentryBatchLoaderRegistry
extends Object
implements org.springframework.graphql.execution.BatchLoaderRegistry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Method Summary
Modifier and TypeMethodDescription<K,
V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K, V> <K,
V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K, V> forTypePair
(Class<K> keyType, Class<V> valueType) void
registerDataLoaders
(org.dataloader.DataLoaderRegistry registry, graphql.GraphQLContext context)
-
Method Details
-
forTypePair
public <K,V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V> forTypePair(Class<K> keyType, Class<V> valueType) - Specified by:
forTypePair
in interfaceorg.springframework.graphql.execution.BatchLoaderRegistry
-
forName
public <K,V> org.springframework.graphql.execution.BatchLoaderRegistry.RegistrationSpec<K,V> forName(String name) - Specified by:
forName
in interfaceorg.springframework.graphql.execution.BatchLoaderRegistry
-
registerDataLoaders
public void registerDataLoaders(org.dataloader.DataLoaderRegistry registry, graphql.GraphQLContext context) - Specified by:
registerDataLoaders
in interfaceorg.springframework.graphql.execution.DataLoaderRegistrar
-