Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Update form fork 07202020 #6

Merged
merged 46 commits into from
Jul 10, 2020
Merged

Update form fork 07202020 #6

merged 46 commits into from
Jul 10, 2020

Conversation

dscasper
Copy link

I think this one Works

TheRickParker and others added 30 commits December 21, 2018 10:27
…rnal Id. The changes cannot be covered by a Unit Test due to lack of such references on standard sObjects. Changes were tested manually in a scratch org in execute anonymous using custom objects.
Financial Force library (FFLIB) by default sorts record based on CreatedDate. Some object (ie. account share) might not have the field and hence will through error.  This change checks the field encryption (taken from @wimvelzeboer ) and if the object does not have created date field, assigns Id as default sorting field.
Fixing the comment-blocking indenting issues (caused by IDE)
Updated the access modifiers from protected to private.
Default Sorting considering invalid field and shield
…ster

Added new overload to registerRelationship supporting External ID refs
…nd-and-Copyright-Corrections

Rebrand as FFLib Apex Common & correct copyright notices
merge fflib-apex-common back to master of fork
The hardcoded reference to the readonly Trigger.oldMap is replace so that it can be mocked in unit-tests
With this change a selector can be configured via AccountsSelector selector = new AccountsSelector().enforceFLS();
With this change a selector can be configured via AccountsSelector selector = new AccountsSelector().enforceFLS();
This will allow an extension that could combine the force-di repo with the fflib-apex-commons.
…ture/VirtualApplication

Feature/virtual application
…ture/FluentSelectorConstructor

Feature/fluent selector constructor
…ture/MockingDomaingetChangesRecords

feature/mocking domain getChangedRecords
…virtual that do actual SOQL -- permits override in a 'without sharing' subclass
correct spelling of word updates within comment and exception message
daveespo and others added 16 commits January 21, 2020 21:39
…3-typo-in-test-assertion

Fixes apex-enterprise-patterns#263 - test assertion using string with typo in it
…ture/registerEmptyRecycleBin

Add register empty recycle bin to UnitOfWork
ChildRelationship -> Schema.ChildRelationship
…ure/license-version

apex-enterprise-patterns#186 - consistent license version across source
…9-virtualize-selector-methods

apex-enterprise-patterns#199 - mark fflib_SObjectSelector methods as virtual
Changes made:
* Migrated all code to Salesforce DX Source format
Updated Deploy button to not hard code the repo name. This means branch deploys work.
…patterns/feature/migration-to-sfdx-format

Fixes apex-enterprise-patterns#259 -- Migration of code to SFDX Source format
* Updating API version of Apex Commons

Updating API version of Apex Commons

* Adding Code Owners

Adding Code Owners
* Added new overload to registerRelationship to allow reference by External Id. The changes cannot be covered by a Unit Test due to lack of such references on standard sObjects. Changes were tested manually in a scratch org in execute anonymous using custom objects.

* Default Sorting considering invalid field and shield

Financial Force library (FFLIB) by default sorts record based on CreatedDate. Some object (ie. account share) might not have the field and hence will through error.  This change checks the field encryption (taken from @wimvelzeboer ) and if the object does not have created date field, assigns Id as default sorting field.

* Cleaned up the code based on pull request feedback.

* Update fflib_SObjectSelector.cls

Fixing the comment-blocking indenting issues (caused by IDE)

* Update fflib_SObjectSelector.cls

Updated the access modifiers from protected to private.

* Adding new method to mocks

* Rebrand as FFLib Apex Common & correct copyright notices to match git history

* upgrade api version

* Allow mocking for getChangedRecords

The hardcoded reference to the readonly Trigger.oldMap is replace so that it can be mocked in unit-tests

* Add mocking for getChangedRecords via Test.Database

* Update README.md

* Add fluent design to the class constructor

With this change a selector can be configured via AccountsSelector selector = new AccountsSelector().enforceFLS();

* Add missing return statement for fluent design to the class constructor

With this change a selector can be configured via AccountsSelector selector = new AccountsSelector().enforceFLS();

* Add the option to extend the Application class.

This will allow an extension that could combine the force-di repo with the fflib-apex-commons.

* Updated to 47.0

Co-authored-by: Rick Parker <45234060+TheRickParker@users.noreply.github.com>
Co-authored-by: Tahsin Zulkarnine <tahsinz@gmail.com>
Co-authored-by: dbtavernerffdc <dbtaverner@financialforce.com>
Co-authored-by: kjonesffdc <31822118+kjonesffdc@users.noreply.github.com>
Co-authored-by: Jan Aertgeerts <jan@janaertgeerts.be>
Co-authored-by: William Velzeboer <wgj.velzeboer@gmail.com>
Co-authored-by: John M. Daniel <ImJohnMDaniel@users.noreply.github.com>
Co-authored-by: Andrew Fawcett <andy@andyinthecloud.com>
# Conflicts:
#	.gitignore
#	README.md
#	fflib/src/classes/fflib_ISObjectDomain.cls
#	fflib/src/classes/fflib_ISObjectSelector.cls
#	fflib/src/package.xml
#	sfdx-source/apex-common/main/classes/fflib_ISObjectUnitOfWork.cls
#	sfdx-source/apex-common/main/classes/fflib_QueryFactory.cls
#	sfdx-source/apex-common/test/classes/fflib_ApplicationTest.cls
#	sfdx-source/apex-common/test/classes/fflib_QueryFactoryTest.cls
@jsardello jsardello merged commit e85828a into master Jul 10, 2020
@delete-merged-branch delete-merged-branch bot deleted the Update_Form_Fork_07202020 branch July 10, 2020 14:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet