Commit 09ab677
committed
site: Kotlin entity data class has no @serializable; TS @required Zod adds .min(1)
Two more code-example accuracy fixes (matching what the ports actually emit):
- codegen-kotlin emits plain entity data classes — @serializable was dropped
(decorative; jsonb uses Jackson). Only enums + prompt payloads keep it. Removed
the stale annotation from the Subscriber data class (kept it on the enum).
- The TS Zod insert schema for a @required string is `.min(1).max(N)` (FR-036
non-empty), not `.max(N)` alone.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeGSV3StPCcJGZNNJ4ZfAb1 parent 75a4465 commit 09ab677
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | 313 | | |
315 | 314 | | |
316 | 315 | | |
| |||
0 commit comments