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

Rfc 114 #116

Open
wants to merge 11 commits into
base: 4.15.x
Choose a base branch
from
Open

Rfc 114 #116

wants to merge 11 commits into from

Conversation

ianef
Copy link

@ianef ianef commented Oct 3, 2023

Q A
Documentation no
Bugfix no
BC Break no
New Feature yes
RFC yes
QA no

Allow the ReflelctionHydrator to hydrate and extract private properties from parent classes.

When trying to hydrate objects with private properties in parent object, that currently does not work. A Doctrine proxied entity for example has all the private entity properties in the base class which is the entity we are trying to hydrate.

An optional parameter $includeParentProperties is now available for the extract and hydrate methods that will allow private parent properties to be extracted or hydrated. This property defaults to false if not provided so it does not cause a BC break.

@ianef ianef force-pushed the rfc-114 branch 2 times, most recently from 4ec1371 to ecbff6e Compare October 3, 2023 15:38
renovate bot and others added 11 commits October 10, 2023 11:20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ian Foulds <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ian Foulds <[email protected]>
Signed-off-by: George Steel <[email protected]>
Signed-off-by: Ian Foulds <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ian Foulds <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ian Foulds <[email protected]>
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Signed-off-by: Ian Foulds <[email protected]>
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

2 participants