From c5ccf42a0f6a3a3e2a98ff4a833f3d4bb8715267 Mon Sep 17 00:00:00 2001 From: Silvio Ney Date: Thu, 27 Mar 2025 11:21:51 +0000 Subject: [PATCH 1/2] fix: update SerializerContextBuilderInterface references to use ApiPlatform\State --- core/form-data.md | 4 ++-- core/graphql.md | 4 ++-- core/serialization.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/form-data.md b/core/form-data.md index bbbd9f640ff..0c6ec0da8c1 100644 --- a/core/form-data.md +++ b/core/form-data.md @@ -31,7 +31,7 @@ namespace App\State; use ApiPlatform\State\ProcessorInterface; use Symfony\Component\HttpFoundation\Request; use ApiPlatform\Metadata\Operation; -use ApiPlatform\Serializer\SerializerContextBuilderInterface; +use ApiPlatform\State\SerializerContextBuilderInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; final class FormRequestProcessorDecorator implements ProcessorInterface @@ -102,8 +102,8 @@ namespace App\Providers; use Illuminate\Support\ServiceProvider; use App\State\FormRequestProcessorDecorator; use ApiPlatform\Core\State\ProcessorInterface; +use ApiPlatform\State\SerializerContextBuilderInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface; -use ApiPlatform\Core\Serializer\SerializerContextBuilderInterface; class AppServiceProvider extends ServiceProvider { diff --git a/core/graphql.md b/core/graphql.md index b815599a0a6..29e349a052a 100644 --- a/core/graphql.md +++ b/core/graphql.md @@ -2750,8 +2750,8 @@ The decorator could be like this: Date: Fri, 11 Apr 2025 11:05:20 +0200 Subject: [PATCH 2/2] Update core/form-data.md --- core/form-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/form-data.md b/core/form-data.md index 0c6ec0da8c1..32cb210c95b 100644 --- a/core/form-data.md +++ b/core/form-data.md @@ -101,7 +101,7 @@ namespace App\Providers; use Illuminate\Support\ServiceProvider; use App\State\FormRequestProcessorDecorator; -use ApiPlatform\Core\State\ProcessorInterface; +use ApiPlatform\State\ProcessorInterface; use ApiPlatform\State\SerializerContextBuilderInterface; use Symfony\Component\Serializer\Normalizer\DenormalizerInterface;