Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 87ae5bc

Browse files
committed
Revert "WIP 1"
This reverts commit 3ea1713.
1 parent 3ea1713 commit 87ae5bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graphql/bfs_executor.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ local function filter_object(object, object_type, selections, opts)
234234
if type(v) == 'table' then
235235
local sel = selections[#selections]
236236
-- get local filters; XXX: it omits nested records
237+
--[[
237238
for a, b in pairs(v) do
238239
if type(b) ~= 'table' then
239240
table.insert(sel.arguments, {
@@ -244,6 +245,7 @@ local function filter_object(object, object_type, selections, opts)
244245
})
245246
end
246247
end
248+
]]--
247249
sel.selectionSet.selections = filters_to_selections(v)
248250
end
249251
end

0 commit comments

Comments
 (0)