fix: use the short type for aggregate types

This commit is contained in:
Zach Daniel 2022-10-01 22:33:08 -04:00
parent ade0031081
commit 329dfed138

View file

@ -50,7 +50,7 @@ defmodule Ash.Api.Info.Diagram do
{:ok, type} = Ash.Query.Aggregate.kind_to_type(aggregate.kind, attribute_type)
type
short_type(type)
end
# default to one to one to just show connection