code: def get_suggested_field_names(type_: GraphQLOutputType, field_name: str) -> List[str]:
      
      if is_object_type(type_) or is_interface_type(type_):
          possible_field_names = list(type_.fields)  # type: ignore
          return suggestion_list(field_name, possible_field_names)
      # Otherwise, must be a Union type, which does not define fields.
      return []
docs: Get a list of suggested field names.
  
      For the field name provided, determine if there are any similar field names that may
      be the result of a typo.