Make mapped object auto initialization optional
mabar opened this issue · comments
- It is not needed with PHP 8.1 and new in initializers
- It is easier to understand
@MappedObjectValue(Input::class, tryAutoInit=true)
Related to #45 - auto initialization is currently applied only for root rule and new option would possibly break root detection. Maybe initialization through before callback would work?
Solved by c3e4e55
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.