File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -908,7 +908,7 @@ defmodule AshPostgres.ResourceGenerator.Spec do
908
908
- MyApp.Types.CustomType
909
909
- {:array, :string}
910
910
911
- Use `skip` to skip ignore this attribute.
911
+ Use `skip` to ignore this attribute.
912
912
""" )
913
913
end
914
914
@@ -921,13 +921,12 @@ defmodule AshPostgres.ResourceGenerator.Spec do
921
921
":" <> type ->
922
922
new_type = String . to_atom ( type )
923
923
Process . put ( { :type_cache , attribute . type } , new_type )
924
- { :ok , % { attribute | attr_type: new_type } }
924
+ { :ok , new_type }
925
925
926
926
type ->
927
927
try do
928
- Code . eval_string ( type )
929
928
Process . put ( { :type_cache , attribute . type } , new_type )
930
- { :ok , % { attribute | attr_type: new_type } }
929
+ { :ok , type }
931
930
rescue
932
931
_e ->
933
932
get_type ( attribute , opts )
You can’t perform that action at this time.
0 commit comments