From 1f70a3a32173fa0f2b9c3e23ad7bd244c7ff917b Mon Sep 17 00:00:00 2001 From: Barnabas Jovanovics Date: Tue, 3 Oct 2023 12:41:13 +0200 Subject: [PATCH] make the edge non-null too --- lib/resource/resource.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/resource/resource.ex b/lib/resource/resource.ex index 1f83cfb..8307be9 100644 --- a/lib/resource/resource.ex +++ b/lib/resource/resource.ex @@ -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") + } } } ]