Skip to content

Commit 51a28c0

Browse files
ryanroldsstevenferrer
authored andcommitted
Fixing the JSON field name
Typo is causing issues when trying to mark fields are required.
1 parent 0f7f3b4 commit 51a28c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schema.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ type Field struct {
108108
Indexed bool `json:"indexed,omitempty"`
109109
Stored bool `json:"stored,omitempty"`
110110
MultiValued bool `json:"multiValued,omitempty"`
111-
Required bool `json:"requied,omitempty"`
111+
Required bool `json:"required,omitempty"`
112112
UseDocValuesAsStored bool `json:"useDocValuesAsStored,omitempty"`
113113
}
114114

0 commit comments

Comments
 (0)