Skip to content

Commit

Permalink
Binder Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pgajek2 committed Oct 10, 2023
1 parent 12f657a commit 36c9ecb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions force-app/main/default/classes/SOQL.cls
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public virtual inherited sharing class SOQL implements Queryable {
public SOQL(String ofObject) {
binder = new Binder();
builder = new QueryBuilder(ofObject);
executor = new Executor(ofObject, builder, binder);
executor = new Executor(ofObject, builder);
}

public SOQL with(SObjectField field) {
Expand Down Expand Up @@ -1529,12 +1529,10 @@ public virtual inherited sharing class SOQL implements Queryable {
private String mockId;
private String ofObject;
private QueryBuilder builder;
private Binder binder;

public Executor(String ofObject, QueryBuilder builder, Binder binder) {
public Executor(String ofObject, QueryBuilder builder) {
this.ofObject = ofObject;
this.builder = builder;
this.binder = binder;
}

public void withSharing() {
Expand Down

0 comments on commit 36c9ecb

Please sign in to comment.