-
Notifications
You must be signed in to change notification settings - Fork 0
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
Flatten column names and values with a comma-delimiter (#24) #73
Conversation
Applies to both Source and Destination node data roles. e.g. if `FirstName` + `LastName` columns are supplied, this will name the field as `FirstName,LastName' Values submitted to the request are then similarly flattened, e.g.: `["Daniel,Marsh-Patrick", "Desirree,Adegunle"]` This pattern will consolidate and delimit a smany columns as are supplied to each data role.
@@ -209,7 +212,8 @@ export class Visual implements IVisual { | |||
); | |||
return false; | |||
} | |||
for (let i = 0; i < this.prevValues[colName].length; i++) { // eslint-disable-line | |||
for (let i = 0; i < this.prevValues[colName].length; i += 1) { | |||
// eslint-disable-line |
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.
unintentional linebreak? or lint no longer needed?
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.
lgtm
@dess890 can you try building and confirming generates graph topology + edge src/dest/properities as expected? |
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.
tested -- everything is working!
Great, merging! @dm-p feel free to continue or delete branch |
Applies to both Source and Destination node data roles.
e.g. if
FirstName
+LastName
columns are supplied, this will name the field as `FirstName,LastName'Values submitted to the request are then similarly flattened, e.g.:
["Daniel,Marsh-Patrick", "Desirree,Adegunle"]
This pattern will consolidate and delimit a smany columns as are supplied to each data role.