diff --git a/src/EntityGraphQL/Compiler/EntityQuery/Grammar/EntityQueryParser.cs b/src/EntityGraphQL/Compiler/EntityQuery/Grammar/EntityQueryParser.cs index 106f1a79..0e98cfcd 100644 --- a/src/EntityGraphQL/Compiler/EntityQuery/Grammar/EntityQueryParser.cs +++ b/src/EntityGraphQL/Compiler/EntityQuery/Grammar/EntityQueryParser.cs @@ -182,8 +182,8 @@ private static IExpression HandleBinary((IExpression, IReadOnlyList<(string, IEx PowerChar => ExpressionType.Power, AndWord => ExpressionType.AndAlso, AndStr => ExpressionType.AndAlso, - OrWord => ExpressionType.Or, - OrStr => ExpressionType.Or, + OrWord => ExpressionType.OrElse, + OrStr => ExpressionType.OrElse, _ => throw new NotSupportedException() }; binaryExp = new Binary(op, left, right);