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

Fixing multi-root-joins #35

Merged
merged 4 commits into from
Jul 11, 2023
Merged

Fixing multi-root-joins #35

merged 4 commits into from
Jul 11, 2023

Conversation

ms-mikeb
Copy link
Collaborator

@ms-mikeb ms-mikeb commented Jul 10, 2023

The issue appeared to be that the previous join clauses were passed into the Join statements, which then tried to re-add a previously added clause.

To avoid this, I've changed the JoinQuery to pass new JoinWithStatements into each Join invocation rather than maintaining a single statement for the life of the JoinQuery.

Closes #34

@ms-mikeb ms-mikeb added type:bug Bug fix of existing functionality version:patch labels Jul 10, 2023
@ms-mikeb ms-mikeb requested a review from a team as a code owner July 10, 2023 20:16
@ms-mikeb ms-mikeb requested a review from amdawood July 10, 2023 21:37
amdawood
amdawood previously approved these changes Jul 10, 2023
QueryBuilder/Common/Clauses/JoinClause.cs Outdated Show resolved Hide resolved
@ms-mikeb ms-mikeb merged commit 4bec14e into main Jul 11, 2023
5 checks passed
@ms-mikeb ms-mikeb deleted the users/mibir/multi-root-join-fix branch July 11, 2023 00:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Bug fix of existing functionality version:patch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Dynamic flow: Join seems not possible between parent and 2 sibling twins
3 participants