Skip to content

Commit

Permalink
fix(graphql): fix preloader with pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
tchak committed Oct 26, 2023
1 parent e7fc866 commit fbf2cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graphql/connections/dossiers_connection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def initialize(items, lookahead: nil, **kwargs)
@lookahead = lookahead
end

def nodes
def load_nodes
if @nodes.nil? && preload?
DossierPreloader.new(super).all
else
Expand Down

0 comments on commit fbf2cfa

Please sign in to comment.