-
Notifications
You must be signed in to change notification settings - Fork 5
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
Retain numeric parameter value type when creating open cypher query #63
Conversation
8c2dfb4
to
1e6099e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a couple of questions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving this smaller fix while we further investigate @danielfinke's more encompassing changes.
1e6099e
to
e6f0f3b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @andreachild, LGTM.
…s strings upon conversion to the equivalent open cypher query. Fixed transformFunctionInputParameters which converts the graphQL request fields into a parameters object by converting the field value to a Number if the type is IntValue or FloatValue.
3be04a4
to
cc35aba
Compare
Issue #: #64
Description of changes:
Numeric graphQL query parameter values were inadvertently being set as strings upon conversion to the equivalent open cypher query. Fixed
transformFunctionInputParameters
which converts the graphQL request fields into a parameters object by converting the field value to aNumber
if the type isIntValue
orFloatValue
.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.