make the edge non-null too

This commit is contained in:
Barnabas Jovanovics 2023-10-03 12:41:13 +02:00
parent 5bd28cce16
commit 1f70a3a321

View file

@ -3134,7 +3134,9 @@ defmodule AshGraphql.Resource do
name: "edges",
__reference__: ref(__ENV__),
type: %Absinthe.Blueprint.TypeReference.List{
of_type: String.to_atom("#{type}_edge")
of_type: %Absinthe.Blueprint.TypeReference.List{
of_type: String.to_atom("#{type}_edge")
}
}
}
]