Skip to content

Commit

Permalink
fix(doc): typing error in Configuration for Symfony
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoD02 committed May 16, 2024
1 parent 347c868 commit 7873f27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/bundle/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ automapper:
serializer_attributes: true
api_platform: false
name_converter: null
mappings:
mapping:
paths:
- "%kernel.project_dir%/src/Entity"
mappers:
Expand Down Expand Up @@ -74,7 +74,7 @@ indicate if we use the attribute of the symfony/serializer during the mapping, t
inject extra data (json ld) in the mappers when we map a Resource class to or from an array.
* `name_converter` (default: `null`): A service id which implement the `AdvancedNameConverterInterface` from the symfony/serializer,
this name converter will be used when mapping from an array to an object and vice versa;
* `mappings`: Allow to auto register the mappers for warmup, and selecting them to normalizer if wanted
* `mapping`: Allow to auto register the mappers for warmup, and selecting them to normalizer if wanted
* `paths`: A list of paths where to look for mappers to register; This will automatically register all classes
with the `#[Mapper]` attribute in the given paths.
* `mappers`: A list of mapping to register, each mapping should have a `source` and a `target` key, and can have
Expand Down

0 comments on commit 7873f27

Please sign in to comment.