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 Summary

    Modifier and Type Method Description
    org.dataloader.DataLoaderRegistry getNewDataLoaderRegistry()
    Retrieves a new DataLoaderRegistry, that can be associated to each request.
  • Method Details

    • 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.