From c770e28aa24273d1218aa98509f2ccbdd2e62952 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 13 Feb 2023 20:40:10 -0500 Subject: [PATCH] improvement: add union short name --- lib/ash/type/type.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ash/type/type.ex b/lib/ash/type/type.ex index 31d36b6c..281a0a05 100644 --- a/lib/ash/type/type.ex +++ b/lib/ash/type/type.ex @@ -44,7 +44,8 @@ defmodule Ash.Type do naive_datetime: "Ash.Type.NaiveDatetime", utc_datetime: "Ash.Type.UtcDatetime", utc_datetime_usec: "Ash.Type.UtcDatetimeUsec", - url_encoded_binary: "Ash.Type.UrlEncodedBinary" + url_encoded_binary: "Ash.Type.UrlEncodedBinary", + union: "Ash.Type.Union" ] |> Enum.map(fn {key, value} -> {key, Module.concat([value])}