Skip to content

Commit

Permalink
fix(jackson): fix deserialization for newer versions of jackson
Browse files Browse the repository at this point in the history
 * Preparation for Spring Boot v3.4
  • Loading branch information
Ivan-Shaml authored and Brutus5000 committed Dec 25, 2024
1 parent 118b7a4 commit af62bc4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/com/faforever/api/error/ErrorResult.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.faforever.api.error;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonCreator.Mode;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
Expand All @@ -11,7 +13,7 @@

@Data
@RequiredArgsConstructor
@AllArgsConstructor
@AllArgsConstructor(onConstructor_={@JsonCreator(mode = Mode.DELEGATING)})
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ErrorResult {
@JsonProperty("status")
Expand Down

0 comments on commit af62bc4

Please sign in to comment.