Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Let's rename the 'validator' rule to 'check_with' #405
as we are evolving a concept for the next major release, we have the opportunity for a thing i like best: breaking things.
i'm not very fond of the circumstance that the number one object of the library and a default rule it provides have the same name:
it makes especially communicating to humans about Cerberus harder and potentially misleading. it probably also doesn't help to conceptualize Cerberus (or the opposite, who knows, depending on the recipient). in some client code this may resolve in longer or confusing variable names. (users that read code that makes use of Cerberus and don't know more about it than its designation - which is obvious due to the names
what could be another name that describes the rather autonomous validation rule
if renamed, a deprecation layer could easily be provided, as no other rule with that name would be added ever again.