fix: Type error: Suggest custom short type names as well (#508)

This commit is contained in:
zimt28 2023-02-09 15:21:52 +01:00 committed by GitHub
parent eb0a77004b
commit 91c9b2219f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -928,7 +928,7 @@ defmodule Ash.Type do
Valid types include any custom types, or the following short codes (alongside the types they map to): Valid types include any custom types, or the following short codes (alongside the types they map to):
#{Enum.map_join(@builtin_short_names, "\n", fn {name, type} -> " #{inspect(name)} -> #{inspect(type)}" end)} #{Enum.map_join(@short_names, "\n", fn {name, type} -> " #{inspect(name)} -> #{inspect(type)}" end)}
""" """
end end