elegant-salesmen-99143
04/13/2023, 7:54 PM"Validation error (WrongType@[searchAcrossEntities]) : argument 'input.orFilters[0]' with value 'ObjectValue{objectFields=[ObjectField{name='query', value=StringValue{value='*'}}, ObjectField{name='orFilters', value=ArrayValue{values=[ObjectValue{objectFields=[ObjectField{name='field', value=StringValue{value='removed'}}, ObjectField{name='condition', value=StringValue{value='EQUAL'}}, ObjectField{name='values', value=ArrayValue{values=[StringValue{value='true'}]}}, ObjectField{name='negated', value=BooleanValue{value=false}}]}]}}]}' contains a field not in 'AndFilterInput': 'field'"
But the field field is definitely is possible in AndFilterInput. What is wrong here?
{
searchAcrossEntities (
input: {query: "*",
orFilters: [{field: "removed", condition: "EQUAL", values: ["true"], negated: false}]}
) {
start
count
total
searchResults {
entity {
type
... on Dataset {
urn
type
description
platform {
name
}
name
}
}
}
}
}lively-cat-88289
04/13/2023, 7:54 PMastonishing-answer-96712
04/14/2023, 5:40 PMAndFilterInput as well to see if that functions?elegant-salesmen-99143
04/17/2023, 6:03 PMAndFilterInput arguments include field, value negated and condition, which I have in my query. Could you please give and example of piece of syntax you want me to add in the query?aloof-gpu-11378
04/18/2023, 4:33 PMelegant-salesmen-99143
04/18/2023, 6:24 PMastonishing-answer-96712
04/20/2023, 8:44 PMbulky-soccer-26729
04/20/2023, 9:09 PMand object inside of the orFilters list like this:
input: {
query: "*",
orFilters: [{and: [{field: "removed", condition: EQUAL, values: ["true"], negated: false}]}]
}elegant-salesmen-99143
04/21/2023, 1:14 PMbulky-soccer-26729
04/21/2023, 1:42 PM