Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3c92616

Browse files
committed
Update RecordType.sObjectType.getDescribe().getName()
RecordType.sObjectType.getDescribe().getName() returns "SObjectType". We need to use RecordType.getSObjectType().getDescribe().getName() to return RecordType. I've found that I need to use RecordType.getSObjectType() in place of RecordType.SObjectType everywhere in this library.
1 parent 7ce5e0e commit 3c92616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fflib/src/classes/fflib_SObjectSelector.cls

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public abstract with sharing class fflib_SObjectSelector
3737
, ApexClass.SObjectType.getDescribe().getName()
3838
, ApexTrigger.SObjectType.getDescribe().getName()
3939
, Attachment.SObjectType.getDescribe().getName()
40-
, RecordType.SObjectType.getDescribe().getName()
40+
, RecordType.getSObjectType().getDescribe().getName()
4141
};
4242

4343
/**

0 commit comments

Comments
 (0)