- Fixed a bug caused by the addition of Attributes (on Ignore tags) and ajusted the EntityTrait with it

This commit is contained in:
Dave Mc Nicoll committed 2023-02-08 16:37:48 +00:00
1 parent d4a9fc8463
commit c9c6a11ebd
2 files changed
+24 -13

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ class EntityResolver {
public function fieldList($fieldKey = self::KEY_ENTITY_NAME, bool $skipVirtual = false) : array
{
$fieldList = [];
foreach($this->properties as $item) {
foreach($item['tags'] ?? [] as $tag) {
if ( $tag['object'] instanceof Field or $tag['object'] instanceof Attribute\Property\Field ) {