Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify @validarium/validations #27

Closed
wafflepie opened this issue Mar 22, 2019 · 1 comment
Closed

Simplify @validarium/validations #27

wafflepie opened this issue Mar 22, 2019 · 1 comment

Comments

@wafflepie
Copy link
Collaborator

wafflepie commented Mar 22, 2019

IMO this package should really just be 2 files: messages and something that loops over all predicates and connects them with the message. This should be possible if we choose a convention for the values passed to messages, e.g. $1, $2 or so (or by always passing objects).

@wafflepie
Copy link
Collaborator Author

Closing in favour of #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant