ubiquity-os / ubiquity-os-kernel

1 stars 19 forks source link

Default config bug #51

Closed whilefoo closed 5 months ago

whilefoo commented 5 months ago

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.

0x4007 commented 5 months ago

@gentlementlegen since you're the only reviewer, consider merging upon approval.