From 72e165626af369a2ed5e214aa011d15279e718e3 Mon Sep 17 00:00:00 2001 From: Tim Yates Date: Tue, 18 Oct 2022 16:50:50 +0100 Subject: [PATCH] Deprecate JacksonConfig construtor for removal in 4.0.0 Removing it will fix using Groovy with Serde and the default ErrorResponseProcessor --- .../exceptions/response/HateoasErrorResponseProcessor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http-server/src/main/java/io/micronaut/http/server/exceptions/response/HateoasErrorResponseProcessor.java b/http-server/src/main/java/io/micronaut/http/server/exceptions/response/HateoasErrorResponseProcessor.java index 756c4106b4c..a7a437c6a52 100644 --- a/http-server/src/main/java/io/micronaut/http/server/exceptions/response/HateoasErrorResponseProcessor.java +++ b/http-server/src/main/java/io/micronaut/http/server/exceptions/response/HateoasErrorResponseProcessor.java @@ -51,7 +51,9 @@ public HateoasErrorResponseProcessor(JsonConfiguration jacksonConfiguration) { * {@link HateoasErrorResponseProcessor#HateoasErrorResponseProcessor(JsonConfiguration)} * * @param jacksonConfiguration the configuration to use for processing. + * @deprecated Use {@link HateoasErrorResponseProcessor(JsonConfiguration)} */ + @Deprecated public HateoasErrorResponseProcessor(JacksonConfiguration jacksonConfiguration) { this((JsonConfiguration) jacksonConfiguration); }