Return service error when invalid
What does this MR do and why?
Currently, we're not returning anything to the user when service gets executed but it is actually invalid because not all requirements are met (e.g. resource can't be sent to AI, FF disabled, etc). We return a success regardless.
This modifies the service layer to return an error if it's invalid.
No changelog since this is behind a feature flag.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #406755