Is it required to register validators on the module level? Does this approach has advantages over providing validators inline when creating config? e.g. when doing createMatConfig()
while implementing matchers it was convenient to have inline functions, and in general they are nicer to implement a fast prototype without having to provide anything at module level.
I might update this article to include the inline functions in the notation. Thanks!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Is it required to register validators on the module level? Does this approach has advantages over providing validators inline when creating config? e.g. when doing
createMatConfig()
while implementing
matchers
it was convenient to have inline functions, and in general they are nicer to implement a fast prototype without having to provide anything at module level.I might update this article to include the inline functions in the notation. Thanks!