fix(schema)!: fixes and key restrictions based on indexer testing (#21362)

This commit is contained in:
Aaron Craelius
2024-08-20 22:52:49 +00:00
committed by GitHub
parent 08a3da44b1
commit 95dcf845c3
14 changed files with 444 additions and 295 deletions
+3
View File
@@ -152,6 +152,9 @@ func mkTestObjectType(kind schema.Kind) schema.ObjectType {
keyField := field
keyField.Name = "key"
if !kind.ValidKeyKind() {
keyField.Kind = schema.Int32Kind
}
val1Field := field
val1Field.Name = "valNotNull"
val2Field := field