Commit e579a58
committed
fix(jsonapi): restore getSupportedTypes override in ItemNormalizer
The normalizer/denormalizer split accidentally dropped this override.
Without it, JsonApi\Serializer\ItemNormalizer inherits the parent's
generic implementation (returns ['object' => false] for any format),
which breaks Symfony Serializer fast-path routing — a more generic
normalizer can win for formats that should land on the JSON:API one.
Restored to the same shape kept by JsonLd\Serializer\ItemNormalizer
post-split, matching the pre-split behavior.1 parent 77d9964 commit e579a58
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 | | |
90 | 95 | | |
91 | 96 | | |
| |||
0 commit comments