fflib-apex-common icon indicating copy to clipboard operation
fflib-apex-common copied to clipboard

Common Apex Library supporting Apex Enterprise Patterns and much more!

Results 98 fflib-apex-common issues
Sort by recently updated
recently updated
newest added
trafficstars

This is very useful for custom implementations which extend the default behaviour. --- This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/407)

Hi All, we do have existing query which we are converting into fflib framework. We do have field in query which calculates distance between address and geolocation. Can you please...

This PR is to create the possibility for different implementations of the Application factories. It is fully backwards compatible with the static maps, as methods are replaced and directing to...

A handy enhancement would be a new fluent method on fflib_QueryFactory that supports the `For Update` clause .addForUpdate() the `addForUdpate` would do a `getOrderings().clear()` as you can't `Order By` with...

enhancement

With this change we can link multiple records to the same parent record. ``` fflib_ISObjectUnitOfWork unitOfWork = Application.UnitOfWork.newInstance(); Account accountRecord = new Account(Name = 'Test'); unitOfWork.registerNew(accountRecord); List contactRecords = new...

Often we retrieve data from records in maps, these domain methods will help with avoiding iterations. ``` Account accounts = Accounts.newInstance(records); Map accountNameById = accounts.getStringFieldByIdField(Account.AccountName, Account.Id); ``` instead of: ```...

Sometimes you just need a specific subset of the records from the domain, these methods will make that easier. --- This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/405)

Now it can consume a Map and Map and includes unit-test This is Replacing PR: #390 --- This change is [](https://reviewable.io/reviews/apex-enterprise-patterns/fflib-apex-common/404)

**Describe the bug** With custom object, the OwnerId is referenced to two parent objects: **Group and User**. When I tried to retrieve related fields on the **User** object, the Selector...

this is a continuation of a conversation started here: [As a developer, I'd love advanced WHERE conditions ...](https://github.com/apex-enterprise-patterns/fflib-apex-common/issues/73) Currently the “fflib_QueryFactory” does not have an object oriented representation of a...

query-builder