Model
ContactUsValidator
Magento\ContactGraphQl\Model\ContactUsValidator
What it does
This validator class ensures that contact form submissions in GraphQL contain valid data before processing.
Developers use it to validate that the email address is properly formatted and that required fields like name and comment are not empty, throwing GraphQL exceptions when validation fails.
Public Methods
- execute()