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