drops icon indicating copy to clipboard operation
drops copied to clipboard

cast to a map/struct

Open uhoreg opened this issue 11 months ago • 1 comments

I would like to be able to cast to a map/struct, but

cast(string(), Caster) |> map()

doesn't work, as there doesn't seem to be a variant of the map function that takes a cast_spec as first argument.

uhoreg avatar Mar 19 '24 02:03 uhoreg

Thanks for reporting this. I'll address it in ~0.2.1~ 0.3.0.

solnic avatar Mar 20 '24 23:03 solnic