• Tim Hockin's avatar
    Convert validation to use FieldPath · e6df0b1a
    Tim Hockin authored
    Before this change we have a mish-mash of ways to pass field names around for
    error generation.  Sometimes string fieldnames, sometimes .Prefix(), sometimes
    neither, often wrong names or not indexed when it should be.
    
    Instead of that mess, this is part one of a couple of commits that will make it
    more strongly typed and hopefully encourage correct behavior.  At least you
    will have to think about field names, which is better than nothing.
    
    It turned out to be really hard to do this incrementally.
    e6df0b1a
Name
Last commit
Last update
..
endpoints Loading commit data...
errors Loading commit data...
install Loading commit data...
latest Loading commit data...
meta Loading commit data...
registered Loading commit data...
resource Loading commit data...
rest Loading commit data...
testapi Loading commit data...
testing Loading commit data...
unversioned Loading commit data...
util Loading commit data...
v1 Loading commit data...
validation Loading commit data...
context.go Loading commit data...
context_test.go Loading commit data...
conversion.go Loading commit data...
conversion_test.go Loading commit data...
copy_test.go Loading commit data...
deep_copy_generated.go Loading commit data...
deep_copy_test.go Loading commit data...
doc.go Loading commit data...
generate.go Loading commit data...
generate_test.go Loading commit data...
helpers.go Loading commit data...
helpers_test.go Loading commit data...
mapper.go Loading commit data...
meta.go Loading commit data...
meta_test.go Loading commit data...
node_example.json Loading commit data...
pod_example.json Loading commit data...
ref.go Loading commit data...
ref_test.go Loading commit data...
register.go Loading commit data...
replication_controller_example.json Loading commit data...
requestcontext.go Loading commit data...
resource_helpers.go Loading commit data...
resource_helpers_test.go Loading commit data...
serialization_test.go Loading commit data...
types.generated.go Loading commit data...
types.go Loading commit data...