Skip to content

Conversation

@deankarn
Copy link
Contributor

Add cross struct cross field validation via tags

joeybloggs and others added 30 commits August 13, 2015 23:47
Split out Type checking.
Add Cross Field determination function for future automatic cross struct
namespace field validation.
now panic less, instead of panicing when data types do not match
in the field and cross field validations, the validation just
fails, because it's true i.e. does nil != 5 pass
or does nil == "string" nope fail
update documentation.
add benchmarks for StructPartial, dive tag, cross field and cross struct cross field.
Backport change to update import path from pull request #155
backporting v7 updates for the near released v7.
 Conflicts:
	README.md
	baked_in.go
	benchmarks_test.go
	util.go
	validator_test.go

 Changes to be committed:
	modified:   README.md
	modified:   baked_in.go
@deankarn deankarn self-assigned this Aug 20, 2015
@deankarn deankarn added this to the V7 milestone Aug 20, 2015
deankarn pushed a commit that referenced this pull request Aug 20, 2015
@deankarn deankarn merged commit d423756 into go-playground:v7-development Aug 20, 2015
fairyhunter13 added a commit to fairyhunter13/validator that referenced this pull request Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant