-
Notifications
You must be signed in to change notification settings - Fork 55
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
add output cypher component #118
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Jem Davies <jemsot@gmail.com>
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.
Think this should be removed
service.NewBoolField("noAuth"). | ||
Description("No Authentication currently implemented, defaults to true."). | ||
Default(true), |
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.
Maybe this should be removed for now since it doesn't look like it's being used?
values[k] = v.String(msgPart) | ||
} | ||
|
||
_, err := neo4j.ExecuteQuery(ctx, cyp.driver, |
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.
Should this output be a query
or an INSERT
statement of some kind? I'd imagine aSELECT
(or neo4j equivalent) shouldn't be processed as output
if err != nil { | ||
return nil, err | ||
} | ||
query, err := conf.FieldString("query") |
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.
Just a thought but I wonder if this should be sanitised in some way to prevent some query injection
No description provided.