Closed lkalwa closed 1 year ago
Using #branch causes the @rel_var of the initial QueryProxy to be lost
@history.students(:student, :enrolledIn).rel_var => :enrolledIn
@history.students(:student, :enrolledIn).branch { all }.rel_var => :rel2
I suppose that bug is present in all versions.
the issue is there even without using custom variables
@history.students.all.branch { all }.to_a(false, true)
throws an exception
Using #branch causes the @rel_var of the initial QueryProxy to be lost
@history.students(:student, :enrolledIn).rel_var => :enrolledIn
@history.students(:student, :enrolledIn).branch { all }.rel_var => :rel2
I suppose that bug is present in all versions.