Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make mapped object auto initialization optional #61

Closed
mabar opened this issue Feb 6, 2023 · 3 comments
Closed

Make mapped object auto initialization optional #61

mabar opened this issue Feb 6, 2023 · 3 comments
Milestone

Comments

@mabar
Copy link
Member

mabar commented Feb 6, 2023

  • It is not needed with PHP 8.1 and new in initializers
  • It is easier to understand

@MappedObjectValue(Input::class, tryAutoInit=true)

@mabar mabar added this to the v0.1 milestone Apr 27, 2023
@mabar
Copy link
Member Author

mabar commented Apr 29, 2023

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?

@mabar
Copy link
Member Author

mabar commented Apr 29, 2023

Solved by c3e4e55

@mabar mabar closed this as completed Apr 29, 2023
@github-actions
Copy link

github-actions bot commented Jun 5, 2023

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant