grantila / suretype

Typesafe JSON (Schema) validator
502 stars 9 forks source link

Make awesome-ajv-errors optional #21

Closed sirkrisp closed 2 years ago

sirkrisp commented 2 years ago

Hi, thanks for building suretype, it is really helpful!

I want to propose making awesome-ajv-errors optional so that suretype can also be used in the browser.

awesome-ajv-errors could be passed into the compile(...) function.

I could also help you with that. Let me know what you think.

sirkrisp commented 2 years ago

I created a pull request for the changes: https://github.com/grantila/suretype/pull/22#issue-1121768154

In the meantime, for others who have the same problem, you can install my fork from here: https://github.com/sirkrisp/suretype

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 3.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: