Skip to content
weftGitHub

Diagnostics

R102

A plain z.union of objects in a function with impl: it has no tag, so Rust can't tell its arms apart reliably. Scalar unions and .nullable() are fine.

Fix: Use z.discriminatedUnion, or set rust: { unions: 'allow' }.

Status in weft@0.1.0: reported by weft check.