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

Association hydrator private in product repo should be protected #13045

Merged
merged 1 commit into from Feb 7, 2023

Conversation

Nek-
Copy link
Contributor

@Nek- Nek- commented Sep 1, 2021

Q A
Branch? 1.13
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
License MIT

This class is designed to be extended. Therefore having a private field not overridable seems to be a bad idea.

Another idea could be to take it as a constructor parameter but it just makes no sense since it would just suggest to the user add its own private property to make the whole thing work. This commit is to me the best approach to the problem.

@Nek- Nek- requested a review from a team as a code owner September 1, 2021 15:59
@Nek- Nek- changed the title fix: association hydrator private in product repo Association hydrator private in product repo should be public Sep 1, 2021
@Nek- Nek- changed the title Association hydrator private in product repo should be public Association hydrator private in product repo should be protected Sep 1, 2021
@Nek-
Copy link
Contributor Author

Nek- commented Dec 12, 2022

@lchrusciel rebased 👍

@jakubtobiasz jakubtobiasz changed the base branch from 1.12 to 1.13 February 7, 2023 14:05
This class is designed to be extended. Therefore having a private field not overridable seems to be a bad idea.

Another idea could be to take it as a constructor parameter but it just makes no sense since it would just suggest to the user add its own private property to make the whole thing work. This commit is to me the best approach to the problem.
@jakubtobiasz
Copy link
Member

Thank you, @Nek-!

@Nek- Nek- deleted the patch-2 branch February 7, 2023 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants