Skip to content

Commit 91d03b2

Browse files
phiz71gaetanmaisse
authored andcommitted
fix: add others @JsonIgnore
Need to add @JsonIgnore too because transient + @JsonIgnore on the property does not work anymore in 2.15 See FasterXML/jackson-databind#3874 (comment) Before 2.15, it was an unexpected feature. (cherry picked from commit 867cb6b)
1 parent b0825d1 commit 91d03b2

File tree

1 file changed

+8
-0
lines changed
  • gravitee-apim-definition/gravitee-apim-definition-model/src/main/java/io/gravitee/definition/model

1 file changed

+8
-0
lines changed

gravitee-apim-definition/gravitee-apim-definition-model/src/main/java/io/gravitee/definition/model/Endpoint.java

+8
Original file line numberDiff line numberDiff line change
@@ -161,10 +161,18 @@ public void addEndpointStatusListener(EndpointStatusListener listener) {
161161
listeners.add(listener);
162162
}
163163

164+
@JsonIgnore
165+
// Need to add @JsonIgnore too because transient + @JsonIgnore on the property does not work anymore in 2.15
166+
// See https://github.com/FasterXML/jackson-databind/issues/3874#issuecomment-1505211857
167+
// Before 2.15, it was an unexpected feature.
164168
public String getConfiguration() {
165169
return configuration;
166170
}
167171

172+
@JsonIgnore
173+
// Need to add @JsonIgnore too because transient + @JsonIgnore on the property does not work anymore in 2.15
174+
// See https://github.com/FasterXML/jackson-databind/issues/3874#issuecomment-1505211857
175+
// Before 2.15, it was an unexpected feature.
168176
public void setConfiguration(String configuration) {
169177
this.configuration = configuration;
170178
}

0 commit comments

Comments
 (0)