Skip to content

NullableOmittable

Type: warmhub.NullableOmittable

NullableOmittable = _T | Unset | None

T | None | Unset — a nullable optional field, all three states live.

The wire declares it field?: T | null. UNSET omits the key; None sends JSON null and means “set this to null”, which is a different instruction from “leave it alone”. Default to UNSET. Use this only where the wire really does accept an explicit null — reaching for it by reflex is how None defaults get back in.