Ross ROSS = Recommend OSS · open-source software intelligence for agents

Shopify/graphql-batch

A query batching executor for the graphql gem observed · 2026-08-28

github.com/Shopify/graphql-batch · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

68/100

  • Activity 94
  • Release rhythm 17
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4000
  • days_rel: 343
  • days_push: 37
  • n_releases_24m: 1

Full methodology

Adoption not part of the score

1441 stars · 108 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A query batching executor for the Ruby graphql gem that lets GraphQL resolvers batch database lookups via custom loader classes. Loaders return promises and group loads by arguments, eliminating N+1 query problems in GraphQL APIs.

Use cases

  • batch database queries in graphql-ruby resolvers
  • avoid N+1 queries in GraphQL API
  • load records by id in batched fashion
  • batch load associations for active record models
  • chain dependent queries with promises in resolvers
  • clear cached loaders after mutations

When to choose

  • you use the graphql gem and face N+1 query issues
  • you want promise-based batching similar to Facebook's DataLoader in Ruby
  • your resolvers load records or associations repeatedly per query

When to avoid

  • you don't use Ruby or the graphql gem
  • you use graphql-ruby's built-in GraphQL::Dataloader instead
  • your schema has no repeated per-object data lookups

Facets

library · maturity stable

graphql middleware caching database web-development backend apis databases developer-tools ruby graphql-ruby query-batching n-plus-one dataloader promise-based active-record

1 source

Member repositories

RepositoryRoleHealth v2
Shopify/graphql-batchmain68

For agents

markdown · JSON · MCP: product_card(name="Shopify/graphql-batch")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem