Skip to content

Commit 5b82372

Browse files
committed
[graphql] SearchBy: Better error message for empty condition.
1 parent 307c841 commit 5b82372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SearchBy/AstManipulator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ protected function getScalarOperators(string $scalar, bool $nullable): array {
386386

387387
if (empty($operators)) {
388388
throw new SearchByException(sprintf(
389-
'Generated scalar type is empty. Please check definition for `%s` scalar.',
389+
'Generated scalar type is empty. Please check operators for `%s` scalar.',
390390
$scalar,
391391
));
392392
}

0 commit comments

Comments
 (0)