     %__MODULE__{file_group |
                 parsed_files: new_parsed_files,
                 schemas: new_schemas,
+                immutable_resolutions: resolutions,
                 resolutions: resolutions}
   end
 

            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]

