We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2093f47 commit 735d11cCopy full SHA for 735d11c
typed/remove.go
@@ -89,10 +89,8 @@ func (w *removingWalker) doMap(t *schema.Map) ValidationErrors {
89
pe := fieldpath.PathElement{FieldName: &k}
90
path, _ := fieldpath.MakePath(pe)
91
92
- if w.deep {
93
- if w.toRemove.Has(path) {
94
- return true
95
- }
+ if w.deep && w.toRemove.Has(path) {
+ return true
96
}
97
98
fieldType := t.ElementType
value/value.go
@@ -187,7 +187,7 @@ func Equals(lhs, rhs Value) bool {
187
return true
188
189
190
-// ToString returns a human-readable representation of the value.
+// String returns a human-readable representation of the value.
191
func ToString(v Value) string {
192
if v.IsNull() {
193
return "null"
0 commit comments