ApexValidationRules icon indicating copy to clipboard operation
ApexValidationRules copied to clipboard

Add support for running pre-existing validation rules for the given SObject type

Open jamessimone opened this issue 3 years ago • 1 comments

Wow. After years of having to toggle through the branch list after kind of remembering there was code somewhere in this repo - it’s an exciting day to come here and see the first official release. Which means that it’s time to take this crazy train off the rails by making your validation rules reference validation rules!

it would be awesome if, by adding a CMDT of a certain type, you could run all (and/or subsets) of the actual validation rules for a given SObject. That info is available via the Metadata API (though it wasn’t clear to me in my ~5 second look around if you could filter by SObject with the data exposed for ValidationRule there; I know you can with the Tooling API but that has its own fun limitations). Anyway, I feel like that functionality would really round things out around here, and would probably springboard this repo into widespread usage!

jamessimone avatar Jun 30 '21 04:06 jamessimone