Commit 9b72400
Allow null steps in AchievementUpdateRequest
Jackson 3 (brought in by Spring Boot 4) defaults
FAIL_ON_NULL_FOR_PRIMITIVES to true and treats absent JSON properties
as null for primitive record components. The producer omits steps for
REVEAL/UNLOCK operations, which Jackson 2 silently coerced to 0 but
Jackson 3 now rejects, turning every such message into a poison pill
that blocks the achievement queue.
Switch steps to Integer and document via @Schema that it is only
required for INCREMENT and SET_STEPS_AT_LEAST.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 96f3ed3 commit 9b72400
1 file changed
Lines changed: 4 additions & 1 deletion
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
0 commit comments