From ce80a2207917b581687be22c46a937cb09bbeba3 Mon Sep 17 00:00:00 2001 From: John Date: Sat, 11 Mar 2023 10:27:11 -0800 Subject: [PATCH] Issue #75 - Virtualize ApplicationSObjectSelector --- .../ApplicationSObjectSelector.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sfdx-source/core/main/classes/framework-application-factory/ApplicationSObjectSelector.cls b/sfdx-source/core/main/classes/framework-application-factory/ApplicationSObjectSelector.cls index 5cd948d..eaeec55 100644 --- a/sfdx-source/core/main/classes/framework-application-factory/ApplicationSObjectSelector.cls +++ b/sfdx-source/core/main/classes/framework-application-factory/ApplicationSObjectSelector.cls @@ -139,19 +139,19 @@ public abstract class ApplicationSObjectSelector return standardFields; } - public IApplicationSObjectSelector addQueryFactoryParentSelect(fflib_QueryFactory parentQueryFactory, Schema.SObjectField relationshipField) + public virtual IApplicationSObjectSelector addQueryFactoryParentSelect(fflib_QueryFactory parentQueryFactory, Schema.SObjectField relationshipField) { this.configureQueryFactoryFields( parentQueryFactory, relationshipField.getDescribe().getRelationshipName()); return this; } - public String selectSObjectsByIdQuery() + public virtual String selectSObjectsByIdQuery() { return newQueryFactory().setCondition('id in :idSet').toSOQL(); } - public List selectInjection( System.Type methodClazzType, ISelectorMethodParameterable params ) + public virtual List selectInjection( System.Type methodClazzType, ISelectorMethodParameterable params ) { if ( methodClazzType == null ) {