Skip to content

Commit d2a845c

Browse files
committed
fix: Guide update
1 parent aa60010 commit d2a845c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

user_guide_src/source/changelogs/v4.7.0.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ your code.
114114
Entity and DataCaster
115115
---------------------
116116

117-
Previously, the ``DataCaster`` object was always initialized, even if you did not use the type casting (
118-
configured empty array ``$casts = []``).
119-
Now, the object is created on-demand and it will be ``null`` when type casting is not configured.
120-
In general, the change does not break the existing process, it should be remembered that now in some cases ``$dataCaster`` may be nullable.
117+
Previously, the ``DataCaster`` object was always initialized, even when type casting was not configured (an empty ``$casts = []`` array).
118+
119+
``DataCaster`` is now created on demand and will be ``null`` when type casting is not configured.
120+
While this change should not affect typical usage, developers should be aware that ``$dataCaster`` may now be nullable in some cases.
121121

122122
Encryption Handlers
123123
-------------------

0 commit comments

Comments
 (0)