Commit e26e1f8
committed
bug symfony#58870 [Serializer][Validator] prevent failures around not existing TypeInfo classes (xabbuh)
This PR was merged into the 7.1 branch.
Discussion
----------
[Serializer][Validator] prevent failures around not existing TypeInfo classes
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
Having a `getType()` method on an extractor is not enough. Such a method may exist to be forward-compatible with the TypeInfo component. We still must not call it if the TypeInfo component is not installed to prevent running into errors for not-defined classes when the TypeInfo component is not installed.
Commits
-------
386453e prevent failures around not existing TypeInfo classesFile tree
2 files changed
+2
-2
lines changed- src/Symfony/Component
- Serializer/Normalizer
- Validator/Mapping/Loader
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
992 | 992 | | |
993 | 993 | | |
994 | 994 | | |
995 | | - | |
| 995 | + | |
996 | 996 | | |
997 | 997 | | |
998 | 998 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
0 commit comments