lablup / lablup/backend.ai

Expose missing DataLoader-backed nested GraphQL relationships (v2)

Open
#12,717 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

## Objective

Fill in missing nested object/connection fields on v2 Strawberry GraphQL types that expose only a foreign-key \*_id scalar, so related entities are graph-navigable in a single query (no separate lookup / no client-side id->object mapping). Each child reuses an already-registered DataLoader or the existing search adapter; no N+1.

## Scope

Spun off from the BA-6809 audit of the GQL v2 layer. Each child is an independent, self-verifiable change with its own draft PR.

JIRA Issue: BA-6816

Contributor guide

Open the contributing guide

Research direction

Start by locating the v2 Strawberry GraphQL types that expose foreign-key *_id scalars, then inspect the already-registered DataLoaders and existing search adapter. Choose one missing nested object or connection field; it is done when the related entity is queryable in one GraphQL request without client-side mapping or N+1 lookups.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, python
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.