Commit 8e1231c
fix: include computed totals in JSON output
Added custom encode(to:) method to DetailedSyncResult to explicitly encode
the computed properties (totalCreated, totalUpdated, totalFailed) in JSON output.
Previously, these computed properties were not included in the JSON because
Swift's Codable only encodes stored properties by default. The workflow needs
these values to generate the sync summary.
**Testing:**
- Verified encode() includes all six fields in JSON output
- Workflow can now parse totalCreated, totalUpdated, totalFailed
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent b785b19 commit 8e1231c
1 file changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
106 | 126 | | |
107 | 127 | | |
108 | 128 | | |
| |||
0 commit comments