{"adoption": {"forks": 108, "observed_at": "2026-08-28T04:04:44.312116+00:00", "stars": 1441}, "canonical_url": "https://ross.abutalabs.com/products/graphql-batch", "card": {"archived": false, "artifact_type": "library", "description": "A query batching executor for the graphql gem", "domain": ["web-development", "backend", "apis", "databases", "developer-tools"], "enriched": true, "function": ["graphql", "middleware", "caching", "database"], "health_score": 92, "homepage": null, "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["Shopify/graphql-batch"], "name": "Shopify/graphql-batch", "platform": ["ruby"], "pushed_at": "2026-07-27T20:04:12+00:00", "repo": "Shopify/graphql-batch", "stars": 1441, "tags": ["graphql-ruby", "query-batching", "n-plus-one", "dataloader", "promise-based", "active-record"], "topics": ["graphql", "promise", "batch"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/graphql-batch", "repo": "Shopify/graphql-batch", "role": "main", "score": 68}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:44.312116+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:36:27.068772+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "fa902333e1b4e8e525c5f7b970ed7d6ac5b0b21b5e7f4286ceb5c46f90e8f8b8", "fetched_at": "2026-08-28T04:04:44.312116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Shopify/graphql-batch"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 17}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4000, "days_push": 37, "days_rel": 343, "gap_med": null, "n_releases_24m": 1}, "score": 68, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}