da6ac9d6cd
- rename ProposedNewObject to ProposedNew: Now that there is an actual configschema.Object it will be clearer if the function names match the type the act upon. - extract attribute-handling logic from assertPlanValid and extend A new function, assertPlannedAttrsValid, takes the existing functionality and extends it to validate attributes with NestedTypes. The NestedType-specific handling is in assertPlannedObjectValid, which is very similar to the block-handling logic, except that nulls are a valid plan (an attribute can be null, but not a block). |
||
---|---|---|
.. | ||
action.go | ||
all_null.go | ||
compatible.go | ||
compatible_test.go | ||
doc.go | ||
lcs.go | ||
lcs_test.go | ||
normalize_obj.go | ||
normalize_obj_test.go | ||
objchange.go | ||
objchange_test.go | ||
plan_valid.go | ||
plan_valid_test.go |