From 9deb05f88d94cb545fca1511f20e29ea5c289a1f Mon Sep 17 00:00:00 2001 From: Igor Guedes Date: Fri, 24 Oct 2025 08:32:43 -0300 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the code was already using the sObject API name for bypassing, but the documentation hadn’t been updated to reflect that. This change aligns the docs with the current implementation. --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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'); } ```