code: @Override
    public Stream<Entity> findAll(Query<Entity> q) {
      Stream<Entity> entities = delegate().findAll(q);
      return resolveEntityReferences(entities, q.getFetch());
    }
docs: Resolve entity references based on given fetch