I encountered this bug so many times but never understood why typebox doesn't use default values inside uses objects.
Well after a headache and trying different things it turned out that the array needs to have default set to [] even though the array always has at least one object because of the minItems constraint.
I encountered this bug so many times but never understood why typebox doesn't use default values inside
uses
objects.Well after a headache and trying different things it turned out that the array needs to have default set to
[]
even though the array always has at least one object because of theminItems
constraint.