Commit 6772b9e
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.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9df0a0c commit 6772b9e
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