mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 21:03:09 +12:00
fix: add UUIDv7 to map the type to :id
This commit is contained in:
parent
9178e7e7b2
commit
789711f658
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue