graphql-python / graphql-python/graphene

graphene relay's `get_node` is not `async`

Open
#1,148 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.2k
Forks
818
PR merge metrics
No merged PRs in 30d

Description

I did not figure out how I could have the `get_node` classmethod of an `ObectType` be async. It would be nice if it was because otherwise it can not take full advantage of dataloaders.

Contributor guide

No contributing guide indexed for this repository

Research direction

The entry point is the Relay ObjectType get_node classmethod; first inspect how it is invoked and how dataloaders are used. Done means get_node supports async execution without losing dataloader benefits, with the behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, python
Domain
backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.