Skip to content
weftGitHub

Diagnostics

R101

A function with impl has no output, a type JSON can't carry (z.date(), z.bigint(), z.void(), z.custom()), or a one-way .transform() on its input (weft build, weft check, weft dev).

Fix: Use a codec: z.codec(z.iso.datetime(), z.date(), { decode, encode }). z.null() says a function returns nothing.

Status in weft@0.1.0: reported by weft check.

More: weft docs rust.