fix: add UUIDv7 to map the type to :id

This commit is contained in:
Zach Daniel 2024-09-09 12:17:43 -04:00
parent 9178e7e7b2
commit 789711f658

View file

@ -4405,6 +4405,7 @@ defmodule AshGraphql.Resource do
defp get_specific_field_type(Ash.Type.Time, _, _, _), do: :time
defp get_specific_field_type(Ash.Type.UUID, _, _, _), do: :id
defp get_specific_field_type(Ash.Type.UUIDv7, _, _, _), do: :id
defp get_specific_field_type(Ash.Type.Float, _, _, _), do: :float
defp get_specific_field_type(Ash.Type.Struct, %{constraints: constraints}, resource, input?) do