You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Object with named embedded struct - list map key from embedded struct should be allowed
229
+
// With a json tag, the embedded struct is not inlined.
230
+
// +listType=map
231
+
// +listMapKey=name
232
+
ObjectWithNamedEmbeddedStruct []ObjectWithNamedEmbedded`json:"objectWithNamedEmbeddedStruct,omitempty"`// want "ObjectWithNamedEmbeddedStruct listMapKey \"name\" does not exist as a field in the struct"
198
233
}
199
234
200
235
// JSONSchemaProps is a placeholder for the JSON schema properties.
// Object with named embedded struct - list map key from embedded struct should be allowed
228
+
// With a json tag, the embedded struct is not inlined.
229
+
// +listType=map
230
+
// +listMapKey=name
231
+
ObjectWithNamedEmbeddedStruct []ObjectWithNamedEmbedded `json:"objectWithNamedEmbeddedStruct,omitempty"` // want "ObjectWithNamedEmbeddedStruct listMapKey \"name\" does not exist as a field in the struct"
197
232
}
198
233
199
234
// JSONSchemaProps is a placeholder for the JSON schema properties.
0 commit comments