Closed devcaeg closed 3 weeks ago
What would be your preferred API to configure this? Maybe instead of force: boolean
we should change it to something like invalid: 'throw' | 'warn' | 'ignore'
.
Another option would be to just remove the log statements or somehow configure it to only show them in development mode.
Yes exactly, it is better the option you propose.
I will think about it. Thank you for your feedback!
v1.0.0-beta.2 of @valibot/to-json-schema
is available
In the
@valibot/to-json-schema
package there should be an option to disable warning messages such as:The 'trim' action cannot be converted to JSON Schema.
Since it causes the console to be filled with hundreds of warning messages