-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
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
Constant Step with Boolean Should Output Lowercase for Cosmos #1068
Comments
How do come to the output 'g.V().limit(1).constant(True)' ? I can't reproduce this as |
Hello @n-ate, |
Thanks for taking a look at it daniel. Luckily there is a simple workaround. |
As commented above, I'd like to comprehend how you get to the output |
Closing due to lack of feedback by OP and impossibility to reproduce on my side. |
Describe the bug
The constant step with any boolean value seems to always resolve to uppercase
True
orFalse
.Expected behavior
Cosmos expects lowercase
true
orfalse
for boolean constants.Version information
v11.1
Minimal working example
C# Gremlinq:
g.V().Limit(1).Constant(true);
Actual Output:
g.V().limit(1).constant(True)
Cosmos Error:
Unable to resolve symbol 'True' in the current context.
Expected Output:
g.V().limit(1).constant(true)
Work Around
C# Gremlinq:
g.V().Limit(1).Constant(1);
Then evaluate the response:
var result = response == 1;
The text was updated successfully, but these errors were encountered: