Interface OnDemandDataLoaderRegistry


  • public interface OnDemandDataLoaderRegistry
    This interface allows to create a Spring Bean that will provide a DataLoaderRegistry, on demand. It can be used by the GraphQLInvocation bean to associate a new DataLoaderRegistry for each request.
    Author:
    etienne-sf
    • Method Detail

      • getNewDataLoaderRegistry

        org.dataloader.DataLoaderRegistry getNewDataLoaderRegistry()
        Retrieves a new DataLoaderRegistry, that can be associated to each request.
        Returns:
        A new DataLoaderRegistry that is created each time this method is called.