refactor: make brazilian postal code separator optional by ticmaisdev · Pull Request #2493 · validatorjs/validator.js

Conversation

@ticmaisdev

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.

rubiin

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add tests too please

@ticmaisdev

@rubiin I'm guessing it should be OK, now

WikiRik

rubiin