diff --git a/README.md b/README.md index 17887d1..575ee8d 100644 --- a/README.md +++ b/README.md @@ -242,15 +242,13 @@ You can bypass all actions on an sObject as well as specific Apex or Flow action #### Bypass from Apex -The framework provides compile-safe bypass methods that accept type references. - -**Bypass sObjects using Schema.sObjectType:** +**Bypass Triggers Using the sObject API Name** ```java public void updateAccountsNoTrigger(List accountsToUpdate) { - TriggerBase.bypass(Schema.Account.SObjectType); + TriggerBase.bypass('Account'); update accountsToUpdate; - TriggerBase.clearBypass(Schema.Account.SObjectType); + TriggerBase.clearBypass('Account'); } ```