-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Zl3h9sM8] apoc.schema.relationships return wrong output for relationship indexes #247
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,9 +17,9 @@ public class IndexConstraintRelationshipInfo { | |
|
||
public final Object relationshipType; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this an Object? (I see it was before as well), but is it not just a string? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah makes sense, thanks :) |
||
|
||
public IndexConstraintRelationshipInfo(String name, String type, List<String> properties, String status, Object relationshipType) { | ||
public IndexConstraintRelationshipInfo(String name, String schemaType, List<String> properties, String status, Object relationshipType) { | ||
this.name = name; | ||
this.type = type; | ||
this.type = schemaType; | ||
this.properties = properties; | ||
this.status = status; | ||
this.relationshipType = relationshipType; | ||
|
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.
I realise now this probably changes the actual output? because we probably don't want to do that 🙈
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.
Actually not, because the output in handled by the field, so
public final String type;
in this case.Now I have a doubt, is this what you meant by "internally"?
If not, I can reset it :)
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.
Oh, you're correct! This is good then :)