Hi ,
We upgraded to a new version of Lombok(1.16.20) and the @Getter is not working with Jackson @jsonProperty annotation. It is working fine with (1.16.18). Requesting to help us regarding this problem.
I am pasting the code that fails
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonPropertyOrder(alphabetic = true)
@JsonInclude(value = Include.NON_EMPTY)
public class Device {
@Getter(onMethod = @__(@JsonProperty("deviceplatform"))) ==> This bit is not getting converted
@Setter(onMethod = @__(@JsonProperty("deviceplatform")), value = AccessLevel.PRIVATE)
private String platform;
@Getter(onMethod = @__(@JsonProperty("devicetype"))) ==> This bit is not getting converted
@Setter(onMethod = @__(@JsonProperty("devicetype")), value = AccessLevel.PRIVATE)
private String type;
}