Skip to content

Commit

Permalink
Update database/catalog.go
Browse files Browse the repository at this point in the history
Co-authored-by: Asdine El Hrychy <[email protected]>
  • Loading branch information
jhchabran and asdine authored Apr 29, 2021
1 parent 08809ad commit 669dc63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/catalog.go
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ OUTER:
for _, path := range info.Paths {
for _, fc := range ti.FieldConstraints {
if fc.Path.IsEqual(path) {
// a constraint may or may enforce a type
// a constraint may or may not enforce a type
if fc.Type != 0 {
info.Types = append(info.Types, document.ValueType(fc.Type))
}
Expand Down

0 comments on commit 669dc63

Please sign in to comment.