fix(graphql): fix preloader with pagination

This commit is contained in:
Paul Chavard 2023-10-26 11:42:56 +02:00
parent e7fc8661d5
commit fbf2cfae50

View file

@ -5,7 +5,7 @@ module Connections
@lookahead = lookahead @lookahead = lookahead
end end
def nodes def load_nodes
if @nodes.nil? && preload? if @nodes.nil? && preload?
DossierPreloader.new(super).all DossierPreloader.new(super).all
else else