fix: Task.artifacts and Task.history null deserialization (fixes #257… · anFatum/a2a-java@75d4b98 · GitHub
Skip to content

Commit 75d4b98

Browse files
Niravkumar-Patelnirav patel
andauthored
fix: Task.artifacts and Task.history null deserialization (fixes a2aproject#257) (a2aproject#258)
# Description - Initialize artifacts and history fields with empty lists when null - Add comprehensive unit tests for deserialization scenarios - Ensures type safety for optional array fields per A2A specification Fixes a2aproject#257 Co-authored-by: nirav patel <nrv@Mac.attlocal.net>
1 parent 8903e3d commit 75d4b98

2 files changed

Lines changed: 92 additions & 2 deletions

File tree

spec/src/main/java/io/a2a/spec/Task.java

Lines changed: 2 additions & 2 deletions
Lines changed: 90 additions & 0 deletions

0 commit comments

Comments
 (0)