diff --git a/CHANGELOG.md b/CHANGELOG.md index cc9213b7..4e43acec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ the current value in a dynamic property is a scalar. * feat(`PresetMappingFactory`): Add `fromObjectCache()` and `fromObjectCacheReversed()`. * chore: Simplify remembering mapper. +* refactor: Deprecate serializer context. ## 1.0.0 diff --git a/src/Serializer/DenormalizerContext.php b/src/Serializer/DenormalizerContext.php index 6897a6d5..5a5b7b5c 100644 --- a/src/Serializer/DenormalizerContext.php +++ b/src/Serializer/DenormalizerContext.php @@ -13,6 +13,9 @@ namespace Rekalogika\Mapper\Serializer; +/** + * @deprecated + */ class DenormalizerContext extends AbstractSerializerContext { } diff --git a/src/Serializer/NormalizerContext.php b/src/Serializer/NormalizerContext.php index 5811f72e..47004359 100644 --- a/src/Serializer/NormalizerContext.php +++ b/src/Serializer/NormalizerContext.php @@ -13,6 +13,9 @@ namespace Rekalogika\Mapper\Serializer; +/** + * @deprecated + */ class NormalizerContext extends AbstractSerializerContext { }