code: private function getSuggestedFieldNames(Schema $schema, $type, $fieldName)
      {
          if ($type instanceof ObjectType || $type instanceof InterfaceType) {
              $possibleFieldNames = array_keys($type->getFields());
  
              return Utils::suggestionList($fieldName, $possibleFieldNames);
          }
  
          // Otherwise, must be a Union type, which does not define fields.
          return [];
      }
docs: For the field name provided, determine if there are any similar field names
  that may be the result of a typo.
  
  @param ObjectType|InterfaceType $type
  @param string                   $fieldName
  
  @return array|string[]