variejs/framework

Pull validator out into its own plugin

Opened this issue · 1 comments

We should pull out the validator into its own plugin. Validation should be bale to pass in data to be able to react to that data. It would allow for more complex ideas.

Also it should be chain-able rather than strings. I found issues keeping track of the validators and how they work.

  • Make new Validator Plugin
    • Make Chain-able
  • Allow complex validations by passing more data into the validator if needed to be relied on.

Linked to :#60