Trying to reference nested fields on
DMLOptions object is flagged as unresolvable entity even though it's valid.
I think this stems from the auto-generated
DMLOptions class' properties are type
Object instead the specific types like
I manually modified the OST such that the on the DMLOptions class:
global Object DuplicateRuleHeader;
global DuplicateRuleHeader DuplicateRuleHeader;
and that made the field resolvable again.
Any chance when the DMLOptions class is generated it can have its properties typed rather than just Object?