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

Java example type mismatch #25

Open
Inertia-Squared opened this issue Jan 23, 2023 · 2 comments
Open

Java example type mismatch #25

Inertia-Squared opened this issue Jan 23, 2023 · 2 comments

Comments

@Inertia-Squared
Copy link

Hey! Noticed there was a bug when running the Java example code with a simple type mismatch. I tried to submit a pull request with the fix but it doesn't seem like I have permission to do so, or I set up my IDE integration incorrectly. Since the fix is fairly simple, I thought I'd just mention it as an issue :)

Variable 'result' parameters "10" needs to be input as int 10 as no implicit conversion exists between "10" and 10. To reflect this change record.get("count").asString() must also be changed to .asInt()
Screenshot 2023-01-23 122837

@hisplan
Copy link

hisplan commented Jan 27, 2023

Same error in Python: #26

@fbiville
Copy link
Contributor

Thanks for the report, that's unfortunately and old bug we have not worked on yet: neo4j-contrib/sandbox-code-updater#65.

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

3 participants