timdeschryver / ng-signal-forms

105 stars 7 forks source link

feat: allow validators to be objects and functions #1

Closed goetzrobin closed 1 year ago

goetzrobin commented 1 year ago

validators can now also be objects that have additional properties such as disable (a function that allows us to exclude a validator from execution) and message (a function that returns a custom error message)

just a prototype but maybe it's useful

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: