- Merge with Mssql repository bugfix

This commit is contained in:
mcndave committed 2022-06-21 15:38:06 +00:00
1 parent 724ab250ab
commit e1990e7cc0
11 files changed
+95 -87

No files matched your search

+4 -2
View File
@@ -47,9 +47,11 @@ class RelationBuilder
return $this->resolveRelation($name) ?: $this->resolveVirtual($name);
}
else {
return $this->instanciateEmptyObject($name, $this->resolver->searchFieldAnnotation($name, new Relation() ));
elseif ( $relation = $this->resolver->searchFieldAnnotation($name, new Relation() ) ) {
return $this->instanciateEmptyObject($name, $relation);
}
return false;
}
protected function resolveVirtual(string $name) /* : bool|object|EntityCollection */