Skip to content

ContainsAny not working with text[] in JAVA #370

@D-nani

Description

@D-nani

defined: Property.builder().dataType(Collections.singletonList("text[]"));
DATA:["a1","b1","c1"]

Image

GraphQLError(message=Argument "where" has invalid value {path: ["tags"], valueString: ["["ai","c1"]"], operator: ContainsAny}.
In field "operator": Expected type "GetObjectsTest03WhereOperatorEnum", found ContainsAny.
In field "valueString": Expected type "String", found ["["ai","c1"]"]., path=null, locations=[GraphQLErrorLocationsItems(column=19, line=1)])

Array queries have always been problematic in java, and various methods are used to handle arrays.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions