🐛 Closes #74 - @JsonIgnore at getData() method to avoid duplication for json encode
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
50f8015d18
commit
b5bb261e22
|
@ -102,6 +102,7 @@ public class CloudEventImpl<T> implements CloudEvent<AttributesImpl, T> {
|
|||
}
|
||||
|
||||
@Override
|
||||
@JsonIgnore
|
||||
public Optional<T> getData() {
|
||||
return Optional.ofNullable(data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue