Log in
Model

ValidateEmail

Magento\CustomerGraphQl\Model\Customer\ValidateCustomerData\ValidateEmail

What it does

This validator class ensures that email addresses provided in GraphQL customer operations are properly formatted and valid.

Developers use this class as part of Magento's GraphQL API validation pipeline when creating or updating customer accounts to prevent invalid email data from being saved.

Public Methods

  • execute()