Skip to content

Commit

Permalink
Remove _source_patched from exported schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
rmouritzen-splunk committed Mar 26, 2024
1 parent 24c29b2 commit e3830ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schema.ex
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ defmodule Schema do
end

defp reduce_data(object) do
delete_links(object) |> Map.delete(:_source)
delete_links(object) |> Map.drop([:_source, :_source_patched])
end

defp reduce_attributes(data) do
Expand Down

0 comments on commit e3830ed

Please sign in to comment.