-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Expected Behavior
I expect author entries to be serialized without the "empty" property:
"authors": [
{
"name": "John Doe",
"url": "mailto:[email protected]",
"avatar": "https://staging.storage.noticeable.io/users/1hvH7RWx9CWe8QCskAHBcsgpbkF2/01h5m04a42c02czp09khyrx3bm-avatar.png"
}
]
Actual Behaviour
When serialized, the JSON feed contains an empty
property that is not valid:
"authors": [
{
"name": "John Doe",
"url": "mailto:[email protected]",
"avatar": "https://staging.storage.noticeable.io/users/1hvH7RWx9CWe8QCskAHBcsgpbkF2/01h5m04a42c02czp09khyrx3bm-avatar.png",
"empty": false
}
]
Steps To Reproduce
The issue comes from this code:
I guess a @JsonIgnore
annotation or Serde equivalent should be used on public boolean isEmpty() {
.
Environment Information
No response
Example Application
No response
Version
4.4.2
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status