Skip to main content

nullable_type

Function nullable_type 

Source
pub fn nullable_type(fragment: Value) -> Value
Expand description

Wrap a type fragment as nullable ({"type": ["T", "null"]}), matching the nullable shape infer_schema emits.