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

Add ability to use WITH SECURITY_ENFORCED to QueryFactory

Open SWhalen-gh opened this issue 5 years ago • 0 comments
trafficstars

I wanted to suggest that fflib_QueryFactory should provide the option of implementing security with Salesforce's recent "WITH SECURITY_ENFORCED" ( WITH SECURITY ENFORCED ).

This was mentioned briefly towards the end of the discussion in #199 but I didn't see any further mention of it.

For backwards compatibility, the library could leave the old flags and old implementation, but add new flag that would add "WITH SECURITY_ENFORCED" to the query string.

SWhalen-gh avatar Oct 20 '20 14:10 SWhalen-gh