Open tingerrr opened 2 weeks ago
Tracked the issue down to base-type:
I think the most sensible solution would be to provide default: auto
when defining the auto schema? that does then mean that passing none
as the value makes it mutate into auto
.
What are your thoughts? I don't think there's a clean solution
It seems that c52ae78e1d73105dfc432611e2c790bbf3c12645 introduced a regression where, given an
either
schema containing anauto
schema, passing auto actually fails with an incorrect message saying it gotnone
.I haven't actually tested this specific snippet, it's a minified version, I've done the bisection on the actual snippet.