- ID attribute is now readonly by default (since autoincremented)
This commit is contained in:
parent
bd0d928f35
commit
0fd6889c6f
@ -16,6 +16,6 @@ class Id extends \Ulmus\Attribute\Property\Field {
|
||||
],
|
||||
public bool $nullable = false,
|
||||
public mixed $default = null,
|
||||
public bool $readonly = false,
|
||||
public bool $readonly = true,
|
||||
) {}
|
||||
}
|
||||
|
@ -72,7 +72,6 @@ class EntityResolver {
|
||||
$key = strtolower($item->name);
|
||||
break;
|
||||
|
||||
|
||||
case static::KEY_ENTITY_NAME:
|
||||
$key = $item->name;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user