mirror of
https://github.com/ash-project/ash_graphql.git
synced 2024-09-19 12:53:40 +12:00
fix: use checked constraints
This commit is contained in:
parent
832b09a4dc
commit
dcdaef0226
1 changed files with 1 additions and 1 deletions
|
@ -4160,7 +4160,7 @@ defmodule AshGraphql.Resource do
|
|||
else
|
||||
if Spark.implements_behaviour?(type, Ash.Type.Enum) do
|
||||
if function_exported?(type, :graphql_type, 1) do
|
||||
type.graphql_type(attribute.constraints)
|
||||
type.graphql_type(constraints)
|
||||
else
|
||||
:string
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue