-
Notifications
You must be signed in to change notification settings - Fork 162
Fix authorization in create #6801
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
Fix authorization in create #6801
Conversation
|
3203b2c to
5c1888b
Compare
5c1888b to
ff6b4c6
Compare
Performance ReportNo Performance Changes Show Full Table
Old Schema Generation: 22.768s |
6455f8b to
eb194db
Compare
eb194db to
2da1acd
Compare
| return [Cypher.utils.concat(...subqueries, new Cypher.With("*"), ...selections, ...validations)]; | ||
| } | ||
| return [...subqueries, new Cypher.With("*").where(predicate), ...selections, ...validations]; | ||
| return [ | ||
| Cypher.utils.concat( | ||
| ...subqueries.map((sq) => new Cypher.Call(sq, "*")), | ||
| new Cypher.With("*").where(predicate), | ||
| ...selections, | ||
| ...validations | ||
| ), | ||
| ]; |
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.
thought we concluded there's no selections and predicates for Create auth
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.
Good catch, that was in the other branch and I forgot to port it to this one
| } | ||
| const subqueries = this.createOperations.map((field) => { | ||
| const { clauses, projectionExpr } = field.transpile(context); | ||
| const oprationQueries = this.topLevelCreateOperations.map((createOperation) => { |
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.
typo
No description provided.