ITADN

`customTypes.module` doesn't actually provide any type safety

#95ClosedDerRockWolf 创建于 2025-12-28
D
DerRockWolfcommented
> I just noticed that `customTypes.module` actually doesn't give you any type safety right now 🤯 > > Because it uses a `types.either types.attrs (types.submodule ct.module)` so if supplied spec doesn't match the submodule in it's entirety it just falls back to `types.attrs` resulting in 0 validation. _Originally posted by @DerRockWolf in [#94](https://github.com/hall/kubenix/issues/94#issuecomment-3684196524)_ A PR that implicitly addresses this issue already exists: https://github.com/hall/kubenix/pull/73
关闭于 2026-01-04 0 条评论