Forbes
d5f1b4e587
feat(partnum): implement part number validation (#80)
Implement Generator.Validate() to check part numbers against schemas:
- Split by separator, verify segment count
- Constant: must equal expected value
- Enum: must be in allowed values map
- String: length, case, pattern constraints
- Serial: length + numeric-only check
- Date: length matches expected format output
Add belt-and-suspenders call in HandleCreateItem after Generate().
Add 9 validation tests (all pass alongside 10 existing tests).
Closes #80
2026-02-13 13:26:13 -06:00
..
2026-02-11 09:50:31 -06:00
2026-02-07 13:35:22 -06:00
2026-02-08 15:59:23 -06:00
2026-02-11 09:50:31 -06:00
2026-02-08 15:59:23 -06:00
2026-02-08 15:59:23 -06:00
2026-02-11 09:50:31 -06:00
2026-02-07 13:35:22 -06:00
2026-02-13 13:26:13 -06:00
2026-02-07 01:57:10 -06:00
2026-02-08 15:59:23 -06:00
2026-01-31 09:20:27 -06:00
2026-02-11 09:50:31 -06:00
2026-02-11 10:14:00 -06:00
2026-01-31 09:20:27 -06:00
2026-02-08 15:59:23 -06:00
2026-02-08 15:59:23 -06:00
2026-02-08 22:52:42 -06:00