Describe the solution you'd like
Architect/Developer should be able to provide global config eg. SOQL_Config, SOQL_Setting.
The config should contain global configurations for all queries eg. FLS, sharing mode, sharing mode per automation user, query in loop checking, etc.
It can be just a class or class that implements specific interface.
public interface Config {
System.AccessLevel accessLevel();
// sharing mode
}
public class SOQLConfig implements SOQL.Config {
//...
}
Describe the solution you'd like
Architect/Developer should be able to provide global config eg.
SOQL_Config,SOQL_Setting.The config should contain global configurations for all queries eg. FLS, sharing mode, sharing mode per automation user, query in loop checking, etc.
It can be just a class or class that implements specific interface.