Project

General

Profile

« Previous | Next » 

Revision cb88310a

Added by Kamil Szubrycht 12 months ago

Fixes #36509 - Fix totalCount handling for GraphQL queries with first parameter

View differences:

app/graphql/connections/base_connection.rb
field :total_count, Integer, null: false
def total_count
object.nodes.size
object.items&.size || 0
end
end
end

Also available in: Unified diff