Muhammed Mukhthar CM
20ba8d4891
fix(config): preserve config data when validation fails
...
When readConfigFileSnapshot encounters validation errors, it now:
1. Returns the resolved config data instead of empty object
2. Uses passthrough() on main schema to preserve unknown fields
This prevents config loss when:
- User has custom/unknown fields
- Legacy config issues are detected but config is otherwise valid
- Zod schema does not recognize newer fields
Fixes config being overwritten with empty object on validation failure.
2026-01-13 01:16:13 +00:00
..
2026-01-13 00:43:59 +00:00
2026-01-13 01:07:59 +00:00
2026-01-12 22:27:19 +00:00
2026-01-09 11:06:39 +01:00
2026-01-13 00:12:57 +00:00
2026-01-13 00:12:57 +00:00
2026-01-13 01:16:13 +00:00
2026-01-12 23:13:40 +00:00
2026-01-12 08:33:32 +00:00
2026-01-13 01:07:59 +00:00
2026-01-09 17:18:01 +01:00
2026-01-12 20:38:34 +00:00
2026-01-10 19:19:43 +01:00
2026-01-12 08:55:02 +00:00
2026-01-13 00:57:18 +00:00
2026-01-09 03:04:16 +01:00
2026-01-10 15:28:37 +01:00
2026-01-09 21:52:47 +00:00
2026-01-10 04:01:06 +01:00
2026-01-12 18:49:24 +00:00
2026-01-12 08:32:08 +00:00
2026-01-11 11:45:25 +00:00
2026-01-12 22:59:36 +00:00
2026-01-11 10:48:46 +00:00
2026-01-13 00:12:57 +00:00
2026-01-09 22:30:15 +01:00
2026-01-10 00:52:24 +01:00
2026-01-12 08:22:01 +00:00
2026-01-13 01:07:59 +00:00
2026-01-13 00:53:30 +00:00
2026-01-11 05:01:50 +01:00
2026-01-12 19:31:04 +00:00
2026-01-12 17:55:45 +00:00
2026-01-12 08:45:23 +00:00
2026-01-12 08:55:02 +00:00
2026-01-10 02:39:52 +01:00
2026-01-12 19:38:52 +00:00
2026-01-12 00:46:55 +00:00
2026-01-12 10:52:34 +00:00
2026-01-08 05:20:39 +01:00
2026-01-07 20:59:49 +00:00
2026-01-12 18:46:40 +00:00
2026-01-12 00:28:34 +00:00
2026-01-10 02:39:52 +01:00
2026-01-10 02:39:52 +01:00