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

Adjust parentheses on QB cast rendering to fix pathing off of it #920

Merged
merged 1 commit into from Apr 8, 2024

Conversation

CarsonF
Copy link
Contributor

@CarsonF CarsonF commented Mar 25, 2024

Fixes #917.
I'm not sure when the inner exp would need to be wrapped in parentheses before casting, but I removed that.
Now wrapping the whole expression.
Also removing the parentheses wrapping for multiple cast siblings.

@CarsonF CarsonF marked this pull request as draft March 25, 2024 03:25
@CarsonF CarsonF force-pushed the bugfix/object-cast-parentheses branch 2 times, most recently from be77527 to e3f640a Compare March 25, 2024 14:04
@CarsonF CarsonF force-pushed the bugfix/object-cast-parentheses branch from 1e7db39 to bed1fbd Compare March 25, 2024 14:17
@CarsonF CarsonF changed the title Initial thoughts on fix pathing off of an object cast Adjust parentheses on QB cast rendering to fix pathing off of it Mar 25, 2024
@CarsonF CarsonF marked this pull request as ready for review March 25, 2024 14:19
@CarsonF CarsonF requested a review from scotttrinh March 25, 2024 14:26
@scotttrinh scotttrinh merged commit d6f3f56 into edgedb:master Apr 8, 2024
8 checks passed
@CarsonF CarsonF deleted the bugfix/object-cast-parentheses branch April 8, 2024 14:36
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.

Invalid path from object casts
2 participants