-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve performance of the configurator applied to all fields
- Loading branch information
1 parent
579fcb4
commit 0c9ba07
Showing
1 changed file
with
12 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I guess it is not enough only to catch
AccessException
, becausePropertyAccessor
throwsUnexpectedTypeException
too.The
UnexpectedTypeException
exception is used inisWritable
method of thePropertyAccessor
here.Now there is an error
PropertyAccessor requires a graph of objects or arrays to operate on, but it found type "NULL
when it tries to get value from a property of a nullable object by relation.E.g. if
properyName
isentity.value
and entity is null.