You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[apex] EagerlyLoadedDescribeSObjectResult: False positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions #5082
Description: When calling SObjectType.getDescribe() using one of the SObjectDescribeOptions enums, the rule still comes up as failed if the option is called using the Schema namespace explicitly.
Code Sample demonstrating the issue:
Failing snippet:
Expected outcome: The rule should not fail when explicitly invoking the Schema namespace, given this is a correct usage of the enum, accepted by the compiler.
changed the title [-][apex] EagerlyLoadedDescribeSObjectResult rule fails when SObjectDescribeOptions is called using explicit Schema namespace[/-][+][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions[/+]on Oct 23, 2026
changed the title [-][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions[/-][+][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions[/+]on Oct 26, 2026
changed the title [-][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions[/-][+][apex] EagerlyLoadedDescribeSObjectResult: False positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions[/+]on Oct 29, 2026
Activity
Fix EagerlyLoadedDescribeSObjectResult rule to accept Schema namespac…
Fix EagerlyLoadedDescribeSObjectResult rule to accept Schema namespac…
Allow `Schema.` in `EagerlyLoadedDescribeSObjectResult`
Allow `Schema.` in `EagerlyLoadedDescribeSObjectResult`
Allow `Schema.` in `EagerlyLoadedDescribeSObjectResult`
[-][apex] EagerlyLoadedDescribeSObjectResult rule fails when SObjectDescribeOptions is called using explicit Schema namespace[/-][+][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions[/+][-][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions[/-][+][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions[/+]Update release notes (pmd#5082)
[apex] Fix pmd#5082: Allow "Schema." in "EagerlyLoadedDescribeSObject…
[-][apex] EagerlyLoadedDescribeSObjectResult: false positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions[/-][+][apex] EagerlyLoadedDescribeSObjectResult: False positive with fully qualified SObjectDescribeOptions/FieldDescribeOptions[/+]