-
Notifications
You must be signed in to change notification settings - Fork 150
Adds optional generic parameter to Node and Relationship #780
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
Conversation
Hey @1pxone, thanks for you contribution. For your PR be able to be merge, you need to read and sign Neo4j's CLA (https://neo4j.com/developer/cla/). Apart of this, the PR looks really good. Just missing some unit tests to check if the type inference is happening as expected. |
@bigmontz Thanks for your reply. I've just sent signed CLA. Can you give some details about tests? Where should I put them? |
We have typing tests defined for this class at Then, there you could create a Node, Relationship, etc with the property interface being supplied and check if you can navigate into the properties as expected (like in the example you provide). |
@bigmontz I've got it, thank you for the clarification. I've just pushed some tests, check it, please :) |
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 @1pxone, It will be merged as soon as we get a green pipeline.
Hi @1pxone, I've taken a look at your CLA signing and it's missing the github username there after your e-mail. You put your name instead. Could you please resend with the correction? More details in: https://neo4j.com/developer/cla/ |
Hi @1pxone, We are having an issue in linking your commits with your Github user. It seems like you commits doesn't have the correct e-mail linked. Could you amend your commits to add your email to them? See: https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup Thanks. |
cc67701
to
caf7f93
Compare
@bigmontz Ah my fault. I've forgotten to change config before diving to Open Source :) Now it seems correct. |
cab9df4
to
9a529b7
Compare
Thanks, @1pxone. I will ping here when it get released. |
Type improvement release in version 4.3.4. Release notes: https://github.com/neo4j/neo4j-javascript-driver/wiki/4.3-changelog#434 cc: @1pxone |
adds optional generic parameter to Node and Relationship
adds optional generic parameter to Node and Relationship
This feature helps to pass typings of Node and Relationship properties.