Log in
Model

ValidateAddress

Magento\CustomerGraphQl\Model\Customer\Address\ValidateAddress

What it does

This class validates customer address data in GraphQL operations, specifically checking if required region/state information is properly provided based on the country code.

Developers use this during customer account creation or address updates via GraphQL to ensure address data meets country-specific requirements before saving.

Public Methods

  • execute()