Skip to content
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

Argument#parse converts numeric strings to numbers #41

Open
AlexanderBeyn opened this issue Jul 23, 2014 · 1 comment
Open

Argument#parse converts numeric strings to numbers #41

AlexanderBeyn opened this issue Jul 23, 2014 · 1 comment

Comments

@AlexanderBeyn
Copy link
Contributor

Passing numeric strings to any of the step methods seems to convert those strings to numbers:

g.V().has('id', '1234').methods;
[ '.V()', '.has(\'id\',1234)' ]

I believe this stems from this false in Argument#parse, but I could be missing something.

@jbmusso
Copy link
Owner

jbmusso commented Jul 23, 2014

Good catch. This is most likely what causes the issue. I'll see if I can come with a solution that make sure gRex handle this not-so-special case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants