code: func getSuggestedFieldNames(schema *Schema, ttype Output, fieldName string) []string {
  
  	fields := FieldDefinitionMap{}
  	switch ttype := ttype.(type) {
  	case *Object:
  		fields = ttype.Fields()
  	case *Interface:
  		fields = ttype.Fields()
  	default:
  		return []string{}
  	}
  
  	possibleFieldNames := []string{}
  	for possibleFieldName := range fields {
  		possibleFieldNames = append(possibleFieldNames, possibleFieldName)
  	}
  	return suggestionList(fieldName, possibleFieldNames)
  }
docs: // getSuggestedFieldNames For the field name provided, determine if there are any similar field names
  // that may be the result of a typo.