code: @Override
    public void forEachBatched(Fetch fetch, Consumer<List<Entity>> consumer, int batchSize) {
      delegate()
          .forEachBatched(
              fetch,
              entities -> {
                List<Entity> resolvedEntities =
                    resolveEntityReferences(entities.stream(), fetch).collect(Collectors.toList());
                consumer.accept(resolvedEntities);
              },
              batchSize);
    }
docs: Resolve entity references