From 92d6b2834d8d740ec8af4118414fcb2fa8d5b1e6 Mon Sep 17 00:00:00 2001 From: Christian Kurz Date: Mon, 2 Aug 2021 15:13:34 +0200 Subject: [PATCH] always send interfaces to introspection --- graphql/introspection.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphql/introspection.lua b/graphql/introspection.lua index 526138c..e88e3f4 100644 --- a/graphql/introspection.lua +++ b/graphql/introspection.lua @@ -230,7 +230,7 @@ __Type = types.object({ kind = types.list(types.nonNull(__Type)), resolve = function(kind) if kind.__type == 'Object' then - return kind.interfaces + return kind.interfaces or {} end end },