Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package io.serverlessworkflow.impl.model.jackson;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
Expand Down Expand Up @@ -48,6 +49,7 @@ protected JacksonModel(JsonNode node) {
}

@Override
@JsonIgnore
public boolean isNull() {
return node.isNull();
Comment on lines 51 to 54
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a regression test that serializing a JacksonModel with Jackson (e.g., ObjectMapper.writeValueAsString on a JacksonModel or WorkflowModel reference) does not emit a "null" field derived from isNull(). This change is intended to prevent Jackson from treating isNull as a bean property, but it’s currently untested in this module despite existing JacksonModel tests.

Copilot uses AI. Check for mistakes.
}
Expand Down
Loading