refactor: make brazilian postal code separator optional by ticmaisdev · Pull Request #2493 · validatorjs/validator.js
Conversation
separator is supposed to be at presentation layer (formatting). making it required forces applications to store uncessary data.
separator is supposed to be at presentation layer (formatting). making it required forces applications to store uncessary data.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add tests too please
@rubiin I'm guessing it should be OK, now
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters