Skip to content

Commit ea4edaa

Browse files
committed
Small fix, remove bad code added by 45d834b
1 parent 5792bce commit ea4edaa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

graphql/rules.lua

-3
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ end
276276
function rules.fragmentSpreadIsPossible(node, context)
277277
local fragment = node.kind == 'inlineFragment' and node or context.fragmentMap[node.name.value]
278278
local parentType = context.objects[#context.objects - 1]
279-
if(parent.__type == 'List') then
280-
parent = parent.ofType
281-
end
282279

283280
local fragmentType
284281
if node.kind == 'inlineFragment' then

0 commit comments

Comments
 (0)