From 4517a27f5f1d604a501e04afc77ebf83d88962d1 Mon Sep 17 00:00:00 2001 From: infinitis <34695575+infinitis@users.noreply.github.com> Date: Thu, 30 Nov 2023 11:19:50 -0800 Subject: [PATCH] fix: corrects spec for graphql_unnested_unions/1 (#103) Co-authored-by: Alex Joss --- lib/type.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/type.ex b/lib/type.ex index 4d1db595..d14c10b2 100644 --- a/lib/type.ex +++ b/lib/type.ex @@ -60,7 +60,7 @@ defmodule AshGraphql.Type do See [the unions guide](/documentation/how_to/use-unions-with-graphql.md) for more. """ - @callback graphql_unnested_unions(Ash.Type.constraints()) :: :atom + @callback graphql_unnested_unions(Ash.Type.constraints()) :: [atom()] @optional_callbacks graphql_type: 1, graphql_input_type: 1,