Skip to content

Commit

Permalink
fix: Wrong service id for CopyTransformer.
Browse files Browse the repository at this point in the history
  • Loading branch information
priyadi committed Jan 14, 2024
1 parent 20f10ce commit a99ccec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
will try the next suitable transformer.
* style: Remove unused vars.
* feat: Transformers now have the option to have an invariant target type.
* fix: Wrong service id for `CopyTransformer`.

## 0.5.8

Expand Down
2 changes: 1 addition & 1 deletion config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
->tag('rekalogika.mapper.transformer', ['priority' => -950]);

$services
->set('rekalogika.mapper.transformer.null', CopyTransformer::class)
->set('rekalogika.mapper.transformer.copy', CopyTransformer::class)
->tag('rekalogika.mapper.transformer', ['priority' => -1000]);


Expand Down

0 comments on commit a99ccec

Please sign in to comment.