Skip to content

Commit

Permalink
fix wrong type definition for positiveInteger
Browse files Browse the repository at this point in the history
  • Loading branch information
vmidyllic committed Nov 23, 2023
1 parent 47ad7dc commit 2770cf2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pubsignals/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ var allOperations = map[int]struct{}{
}

var availableTypesOperations = map[string]map[int]struct{}{
ld.XSDBoolean: {circuits.EQ: {}, circuits.NE: {}},
ld.XSDInteger: allOperations,
ld.XSDInteger + "nonNegativeInteger": allOperations,
ld.XSDInteger + "positiveInteger": allOperations,
ld.XSDString: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}},
ld.XSDNS + "dateTime": allOperations,
ld.XSDDouble: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}},
ld.XSDBoolean: {circuits.EQ: {}, circuits.NE: {}},
ld.XSDInteger: allOperations,
ld.XSDNS + "nonNegativeInteger": allOperations,
ld.XSDNS + "positiveInteger": allOperations,
ld.XSDString: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}},
ld.XSDNS + "dateTime": allOperations,
ld.XSDDouble: {circuits.EQ: {}, circuits.NE: {}, circuits.IN: {}, circuits.NIN: {}},
}

// PathToSubjectType path to description of subject type.
Expand Down

0 comments on commit 2770cf2

Please sign in to comment.