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

Hydrator ignores private/protected getter/setter #4

Conversation

PowerKiKi
Copy link

If the entity had a getter/setter which was private or protected the hydrator tried to call it anyway
and thus threw an exception. We now silently ignore them if there are not callable.

This allow for entities that have "read-only" fields which are set internally (such as timestamp).

This is a backport of doctrine/DoctrineModule#560

If the entity had a getter/setter which was private or protected the hydrator tried to call it anyway
and thus threw an exception. We now silently ignore them if there are not callable.

This allow for entities that have "read-only" fields which are set internally (such as timestamp).

This is a backport of doctrine/DoctrineModule#560
@PowerKiKi
Copy link
Author

Closing as it now is obsolete

@PowerKiKi PowerKiKi closed this Feb 20, 2019
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

1 participant