Package com.netflix.graphql.dgs
Interface DgsDataLoaderRegistryConsumer
public interface DgsDataLoaderRegistryConsumer
Interface indicating that this DataLoader wants to be call-backed with a reference to the DataLoaderReference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setDataLoaderRegistry
(org.dataloader.DataLoaderRegistry dataLoaderRegistry) Callback to retrieve the DataLoaderRegistry instance.
-
Method Details
-
setDataLoaderRegistry
void setDataLoaderRegistry(org.dataloader.DataLoaderRegistry dataLoaderRegistry) Callback to retrieve the DataLoaderRegistry instance.- Parameters:
dataLoaderRegistry
- Typically this is stored as an instance variable for later use.
-