cardinalby / schema-validator-action

JSON Schema validator Action
MIT License
13 stars 2 forks source link

please allow extraFormats setting #15

Closed Bluscream closed 3 weeks ago

cardinalby commented 4 weeks ago

Hi! Can't read your mind, pls add a description and and some examples.

Bluscream commented 3 weeks ago

In your own docs you link to the relevant page at https://github.com/ExodusMovement/schemasafe/blob/master/doc/Options.md

extraFormats — false by default. Enable extra built-in non-standard formats, see formats.js.

if i understand the setting correctly; it will allow usage of more "format": options like uri, uuid, boolean etc generated by https://app.quicktype.io/schema for example. That way i won't have to do cursed regex patterns like this anymore

cardinalby commented 3 weeks ago

took a look, it's enabled in the action

Bluscream commented 3 weeks ago

mhmm okay that's weird, moved this request up the chain then https://github.com/ExodusMovement/schemasafe/issues/186

Thanks for taking a look