Skip to content

Commit

Permalink
chore: prettier fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
chiefpansancolt committed Jan 2, 2025
1 parent f50d212 commit 5345d24
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi
available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
[version]: http://contributor-covenant.org/version/1/4/
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
github: chiefpansancolt
ko_fi: chiefpansancolt
patreon: chiefpansancolt
patreon: chiefpansancolt
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body:
label: Version
description: What version of our software are you running?
options:
- "1.0"
- '1.0'
validations:
required: true
- type: dropdown
Expand All @@ -50,4 +50,4 @@ body:
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/chiefpansancolt/salesforce-automation-framework/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ contact_links:
about: Please ask and answer questions here.
- name: GitHub Security Bug Bounty
url: https://bounty.github.com/
about: Please report security vulnerabilities here.
about: Please report security vulnerabilities here.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ body:
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/chiefpansancolt/salesforce-automation-framework/blob/main/CODE_OF_CONDUCT.md)
options:
- label: I agree to follow this project's Code of Conduct
required: true
required: true
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ Please describe the tests that you ran to verify your changes. Provide instructi
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules
- [ ] Any dependent changes have been merged and published in downstream modules
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The Framework supports the below Trigger Contexts
- After Delete
- After Undelete

2. Now you can create a Handler for your Trigger todo anything you are looking to do. Be sure to think about a couple things when determining how to breakdown your handlers to not have all your code in 1 Handler class.
2. Now you can create a Handler for your Trigger todo anything you are looking to do. Be sure to think about a couple things when determining how to breakdown your handlers to not have all your code in 1 Handler class.

- Breakdown to handle a single related object like `TestObjectAccountHandler`
- Breakdown to be sure a Query is not duplicated in multiple Handlers
Expand Down Expand Up @@ -174,9 +174,9 @@ Supported DML Utilities are:
- addDeletes(List<sObject>)

3. Once the file is created then you can create the Custom Metadata Type records for the Trigger Pipeline and Trigger Handler
1. Create Trigger Pipline record in Custom Metadata Type Trigger_Pipeline__mdt. Be sure to select and enable all contexts you have a pipeline for.
2. Now create a Trigger Handler in Custom Metadata Type Trigger_Handler__mdt and again check off all applicable Trigger Contexts to implement for said Handler.
3. Repeat step 2 for each new handler you are implementing.
1. Create Trigger Pipline record in Custom Metadata Type Trigger_Pipeline\_\_mdt. Be sure to select and enable all contexts you have a pipeline for.
2. Now create a Trigger Handler in Custom Metadata Type Trigger_Handler\_\_mdt and again check off all applicable Trigger Contexts to implement for said Handler.
3. Repeat step 2 for each new handler you are implementing.

> [!TIP]
> Check out example implementation of a Trigger Framework on the Account object in the [example folder](/example/trigger-pipeline).
Expand Down

0 comments on commit 5345d24

Please sign in to comment.