Model
Country
Magento\DirectoryGraphQl\Model\Resolver\Country
What it does
This GraphQL resolver handles requests for country information by country ID.
Developers use this class when they need to expose country data (like name, regions, and available regions) through Magento's GraphQL API.
It validates the country ID input, retrieves the country information, and formats it for the GraphQL response.
Public Methods
- resolve()