v0.4.1
Fixed
tuple[T, ...]-typed fields now coerce list input to tuple at the encoder boundary instead of raising a bareAssertionError. Mirrors Pydantic's affordance so call sites migrating across don't have to rewrite everyindices=[0, 1, 2]literal. Non-iterable input still fails, but as adx.ValidationErrorcarrying the field name and atype_errorentry, not as anAssertionErrorfrom inside the encoder. (#15)frozenset[T]-typed fields coerce list, set, and tuple input the same way. Bare strings are still rejected (they would otherwise silently explode intofrozenset({"a", "b", "c"})).
Full changelog: https://github.com/panproto/didactic/blob/main/CHANGELOG.md