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

fix(binding): Expose validator engine used by the default Validator #1277

Merged
merged 3 commits into from
Mar 29, 2018

Commits on Mar 28, 2018

  1. fix(binding): Expose validator engine used by the default Validator

    - Add func ValidatorEngine for returning the underlying validator engine used
      in the default StructValidator implementation.
    - Remove the function RegisterValidation from the StructValidator interface
      which made it immpossible to use a StructValidator implementation without the
      validator.v8 library.
    - Update and rename test for registering validation
      Test{RegisterValidation => ValidatorEngine}.
    - Update readme and example for registering custom validation.
    - Add example for registering struct level validation.
    - Add documentation for the following binding funcs/types:
      - Binding interface
      - StructValidator interface
      - Validator instance
      - Binding implementations
      - Default func
    sudo-suhas committed Mar 28, 2018
    Configuration menu
    Copy the full SHA
    bf4942c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b308c8b View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2018

  1. Configuration menu
    Copy the full SHA
    9de71a5 View commit details
    Browse the repository at this point in the history