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

Fix Doctrine mapping errors #157

Merged
merged 3 commits into from
Jun 8, 2024

Conversation

shochdoerfer
Copy link
Contributor

Correct some Doctrine mapping errors, see #156 for details.

Comment on lines -27 to -30
#[ORM\ManyToOne(targetEntity: ValidatorInterface::class, cascade: ['persist'], inversedBy: 'conditions')]
#[ORM\JoinColumn(onDelete: 'CASCADE')]
protected ?ValidatorInterface $validator = null;

Copy link
Collaborator

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

Copy link
Contributor Author

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?

Copy link
Collaborator

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.

Copy link
Contributor Author

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!

Copy link
Contributor Author

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.

@mamazu mamazu merged commit 454f741 into Brille24:master Jun 8, 2024
0 of 6 checks passed
@mamazu
Copy link
Collaborator

mamazu commented Jun 8, 2024

Works for me, thanks for the support. Tagged as 4.0.3.

@shochdoerfer
Copy link
Contributor Author

Always happy to help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants