Skip to content

Commit 3e501d4

Browse files
authored
Merge pull request #728 from smoelker/patch-1
Invalid tag: normalizer should be denormalizer
2 parents 7cfd226 + 681c201 commit 3e501d4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/identifiers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,19 +98,19 @@ final class UuidNormalizer implements DenormalizerInterface
9898
}
9999
```
100100

101-
Tag this service as a `api_platform.identifier.normalizer`:
101+
Tag this service as a `api_platform.identifier.denormalizer`:
102102

103103
```xml
104104
<service id="App\Identifier\UuidNormalizer" class="App\Identifier\UuidNormalizer" public="false">
105-
<tag name="api_platform.identifier.normalizer" />
105+
<tag name="api_platform.identifier.denormalizer" />
106106
</service>
107107
```
108108

109109
```yaml
110110
services:
111111
App\Identifier\UuidNormalizer:
112112
tags:
113-
- { name: api_platform.identifier.normalizer }
113+
- { name: api_platform.identifier.denormalizer }
114114
```
115115
116116
Your `PersonDataProvider` will now work as expected!

0 commit comments

Comments
 (0)