fix edge type

This commit is contained in:
Barnabas Jovanovics 2023-10-03 18:51:26 +02:00 committed by GitHub
parent 1f70a3a321
commit d157fdd814
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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