KFL
- Nominal Typing
- Trait-Based
TODO
- Struct variants and tuple variants
-
DecodePartialcompatibility cannot automatically be detected (exceptUnituseless case)- Because we discard
optionparameter and also switch to manually implementing it forOption<T>andVec<T> - Beautiful fact is that default
Decodebehaviour anyway coerceTintoOption<T>whenChildMode::NormalorVec<T>whenChildMode::Multiat decoding (and then unwrap or into_iter.collect)
- Because we discard
-
Implement
DecodeScalarfor struct as the replacement offlatten(properties)and supportflatten(arguments)equivalent as well - Span
- Detect name conflicts between fields in the same struct
-
Understand error categories, reconsider
Contextin the presence ofDecodePartial - Test organisation, provide utility macros
-
Encode-
EncodePartialas an analogous toskip_serializing_none
-