Skip to main content

deserialise_ref_via

Function deserialise_ref_via 

Source
pub fn deserialise_ref_via(t: &TypeRef, ns: &str, ru: &RuntimeUse) -> TsExpr
Expand description

v0.176 (#642): a deserialise reference for ns, shaped to callService’s deserialiseResult parameter. The inline arms become a lambda rather than the unvalidated ((j: any) => ({ tag: "Ok", value: j })) identity the caller path used to fall back to.