From a99ccec15162083b90e5d782e17aae039bc24c0a Mon Sep 17 00:00:00 2001 From: Priyadi Iman Nurcahyo <1102197+priyadi@users.noreply.github.com> Date: Mon, 15 Jan 2024 00:29:54 +0700 Subject: [PATCH] fix: Wrong service id for `CopyTransformer`. --- CHANGELOG.md | 1 + config/services.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6299c41a..dbea4d1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/config/services.php b/config/services.php index a7e845aa..2a07eb46 100644 --- a/config/services.php +++ b/config/services.php @@ -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]);