Skip to content

Global Settings #17

@pgajek2

Description

@pgajek2

Is your feature request related to a problem? Please describe.
An architect or developer should be able to define a global configuration (e.g. DML_Config, DML_Settings).
This configuration should contain default settings that apply to all DML operations, such as FLS mode, sharing mode, sharing mode per automation user, retry policy, and similar options.

Describe the solution you'd like
I would like to have a class that allows defining global settings for DML Lib, including:

  • Default FLS mode
  • Default sharing mode
  • FLS and sharing mode per automation user (so DML is executed correctly in triggers)
  • Global chunk size
  • Chunk size per SObjectType
  • Maximum retry attempts

Some of these settings should be overridable via the fluent API (e.g. chunk size, FLS, sharing mode), while others should not be overridable (e.g. FLS and sharing mode per automation user).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions