Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-playground/validator Loading
base: v10.5.0
Choose a base ref
...
head repository: go-playground/validator Loading
compare: v10.6.0
Choose a head ref
  • 5 commits
  • 19 files changed
  • 6 contributors

Commits on May 6, 2021

  1. Fix boolean support for required_if, required_unless and eqfield (#754)

    * Fix boolean support in requireCheckFieldValue, isEqField and isNeField
    
    * Added tests
    
    Co-authored-by: Zane DeGraffenried <[email protected]>
    zane-deg and Zane DeGraffenried committed May 6, 2021
    Configuration menu
    Copy the full SHA
    31dd62f View commit details
    Browse the repository at this point in the history
  2. Add ability to validate map data (#752)

    * Implement ValidateMapCtx func for validating map data
    
    * Add ValidateMap func for validating map data with an empty context
    
    * Implement a basic example of ValidateMap method
    
    * Update ValidateMapCtx method, so it can validate nested maps
    
    * Due to changes in ValidateMapCtx, make some updates on ValidateMap method
    
    * Update tests due to changes in ValidateMap method
    
    * Create a basic test for validating nested maps
    
    * Handle error when invalid data is supplied for diving
    zytell3301 committed May 6, 2021
    Configuration menu
    Copy the full SHA
    b95d43b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c206620 View commit details
    Browse the repository at this point in the history
  4. Postcode validator for value and field (#759)

    * Postcode validator for value and field
    
    * Add translation for postcode rules
    
    Co-authored-by: Dean Karn <[email protected]>
    vuon9 and deankarn committed May 6, 2021
    Configuration menu
    Copy the full SHA
    a53d64f View commit details
    Browse the repository at this point in the history
  5. Pr cleanup (#767)

    * cleanup after merging PRs
    
    * Add maintainer info +
    deankarn committed May 6, 2021
    Configuration menu
    Copy the full SHA
    d07eb88 View commit details
    Browse the repository at this point in the history
Loading