We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If the query contains a condition group argument with no groups inside, the foreach loop in addConditionGroup() may emit a warning/notice.
foreach
addConditionGroup()
The text was updated successfully, but these errors were encountered:
Hi @morvans, I couldn't reproduce the warning you mentioned. Can you please share more details?
I've tried this query:
query SearchEmployers( $condition_group: ConditionGroupInput, $facets: [FacetInput], $fulltext: FulltextInput, $index_id: String!, $range: RangeInput, $sort: [SortInput] ) { searchAPISearch( condition_group: $condition_group, facets: $facets, fulltext: $fulltext, index_id: $index_id, range: $range, sort: $sort ) { __typename result_count } }
with these arguments:
{ "index_id": "anabranch_connect_index", "condition_group": {}, "range": { "offset": 0, "limit": 10 }, "sort": [ { "field": "advertiser_name", "value": "asc" } ], "facets": [] }
{ "index_id": "anabranch_connect_index", "condition_group": { "groups": {} }, "range": { "offset": 0, "limit": 10 }, "sort": [ { "field": "advertiser_name", "value": "asc" } ], "facets": [] }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
If the query contains a condition group argument with no groups inside, the
foreach
loop inaddConditionGroup()
may emit a warning/notice.The text was updated successfully, but these errors were encountered: