From d157fdd814b7e1f072831c380105becc529f0323 Mon Sep 17 00:00:00 2001 From: Barnabas Jovanovics Date: Tue, 3 Oct 2023 18:51:26 +0200 Subject: [PATCH] fix edge type --- lib/resource/resource.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/resource/resource.ex b/lib/resource/resource.ex index 8307be9..14908bc 100644 --- a/lib/resource/resource.ex +++ b/lib/resource/resource.ex @@ -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") } }