Skip to content

Commit 8cfb453

Browse files
committed
fix: just to be extra-safe also prevent when loading modules
1 parent 70b6355 commit 8cfb453

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/ash/type/module.ex

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,6 @@ defmodule Ash.Type.Module do
128128
end
129129
end
130130

131-
def cast_stored("Elixir." <> _ = value, _) do
132-
module = Module.concat([value])
133-
134-
if Code.ensure_loaded?(module) do
135-
{:ok, module}
136-
else
137-
:error
138-
end
139-
end
140-
141131
def cast_stored(value, _) when is_binary(value) do
142132
atom = String.to_existing_atom(value)
143133

0 commit comments

Comments
 (0)