mandatory with before handler

Hi all,

If I set a field to mandatory and the field is not specified in the payload, the request is rejected.

Now, i would still like to handle this request in the before handler and reject it in the on handler.

Has anyone tried this? How can I implement it?

The error handler works, but that doesn’t help me.

Thank you very much

 

Scroll to Top