Skip to content
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 querybuilder toEdgeQL when doing 'insert many-to-one, select one' queries using e.with #1191

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

jaclarke
Copy link
Member

@jaclarke jaclarke commented Feb 7, 2025

Fixes a bug where we were not also checking the child exprs of the additional valid scopes added in this fix: #1154.

Also fixes bug where scope validity was not being checked in the correct order when some expressions in the e.with refs array are children of other exprs.

@jaclarke jaclarke requested a review from scotttrinh February 7, 2025 14:31
Copy link
Collaborator

@scotttrinh scotttrinh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🫶

@scotttrinh scotttrinh merged commit efd7ac5 into gel Feb 7, 2025
9 checks passed
@scotttrinh scotttrinh deleted the insert-m-to-1-select-1 branch February 7, 2025 14:46
diksipav pushed a commit that referenced this pull request Feb 14, 2025
…e' queries using `e.with` (#1191)

Fixes a bug where we were not also checking the child exprs of the
additional valid scopes added in this fix:
#1154.

Also fixes bug where scope validity was not being checked in the correct
order when some expressions in the `e.with` refs array are children of
other exprs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants