From 789711f65864ee23f2d1df3d2cd5cd38c0674ed9 Mon Sep 17 00:00:00 2001 From: Zach Daniel Date: Mon, 9 Sep 2024 12:17:43 -0400 Subject: [PATCH] fix: add UUIDv7 to map the type to :id --- lib/resource/resource.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/resource/resource.ex b/lib/resource/resource.ex index 8865f7f..25b6687 100644 --- a/lib/resource/resource.ex +++ b/lib/resource/resource.ex @@ -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