-
Notifications
You must be signed in to change notification settings - Fork 35
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
Fix Doctrine mapping errors #157
Fix Doctrine mapping errors #157
Conversation
#[ORM\ManyToOne(targetEntity: ValidatorInterface::class, cascade: ['persist'], inversedBy: 'conditions')] | ||
#[ORM\JoinColumn(onDelete: 'CASCADE')] | ||
protected ?ValidatorInterface $validator = null; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just need to add this to the Upgrade.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean in case someone implemented a custom validator and needs to add the property now? Or what else would need to be covered in the Upgrade.md file?
I assume you mean the UPGRADE-4.md
file, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep exactly and the file name is fine.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will take care of this in the next few days. Thanks for your insights!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Wasn't sure about the wording or how much information we should add. If you feel I should adapt things, let me know.
Works for me, thanks for the support. Tagged as 4.0.3. |
Always happy to help! |
Correct some Doctrine mapping errors, see #156 for details.