Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

First major release

Latest
Compare
Choose a tag to compare
@jongpie jongpie released this 24 Jul 08:22
· 5 commits to master since this release

New Features & Enhancements

  • New Scheduler.cls class to help simplify scheduling jobs

  • Created the interface ISObjectRecordTypes.cls

  • SObjectRepository.cls has a new constructor that will automatically add all fields to the query for the specified SObject type - essentially, it's 'select * from sobject'

    Sample code for the simplest implementation of an account repository:

    public class AccountRepository extends SObjectRepository {
        public AccountRepository() {
            // When only an SObject type is provided, all fields for the SObject are included in your queries
            super(Schema.Account.SObjectType);
        }
    }
    

Bugfixes

  • Fixed a bug related to using maps & sets as query parameters
  • Refactored some code based on Code Climate's initial analysis (mostly in QueryDateLiteral.cls & QueryOperator.cls)

Other

  • Updated README.md
  • Setup Code Climate