Closed truumahn closed 3 months ago
@truumahn Hi, thanks for reporting. This is definitely a bug!
I have pushed a version on 0.32.23 where this issue should be resolved. Relevant PR is here https://github.com/sinclairzx81/typebox/pull/847
If you just want to test things your side, can close off this issue Thanks again! S
Thank you, works perfectly!
Here's a repro with vitest:
If I remove the union from
parent
to be like this:Type.Optional(This)
, then there's no trouble.