             [{:"#{rest}", v}, original_mapping]
 
           _ ->
-            [{name, v}, original_mapping]
+            [original_mapping]
         end
     end)
     |> Map.new

            parsed_files: %{},
            schemas: %{},
            resolutions: %{},
            ns_mappings: %{},
            opts: Keyword.new()


    # way, we add unqualified names to the resolutions map.

    current_module = Atom.to_string(module)
    resolutions = file_group.immutable_resolutions
    |> Enum.flat_map(
      fn {name, v} = original_mapping ->
        case String.split(Atom.to_string(name), ".") do

          [^current_module, enum_name, value_name] ->
            [{:"#{enum_name}.#{value_name}", v}, original_mapping]

