GraphQL: Querying Variants of a Configurable Product (Magento 2)

Magento GraphQL can return not only the data of a configurable product but also its configurable attributes and associated child products. For example, the query might look like this:

The expression … on ConfigurableProduct is an inline fragment. A…