This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Description
The maximum level value is being calculated incorrectly.
Preconditions
The result response does not contain the last child item (specified on the deepest level according to the request).
Looks like the issue appears due to the incorrect maximum depth level calculation in \Magento\CatalogGraphQl\Model\Resolver\Products\DataProvider (line 100).
Expected result

Actual result
