bangumi / bangumi/server-private

[Feature Request]: 为 GraphQL Subject.Character 添加 actors

Open
#809 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
42
Forks
23
Avg merge
13h 56m
Merged PRs (30d)
19

Description

https://api.bgm.tv/v0/graphql
```graphql
fragment SubjectFragment on Subject {
id
characters {
type
character {
id
actors # expected
}
}
}

query BatchGetSubjectQuery {
s0:subject(id: 425991){...SubjectFragment}
}
```

HTTP API 支持获取 actors, 希望为 GraphQL 也增加

Contributor guide

No contributing guide indexed for this repository

Research direction

Start from the GraphQL endpoint and the SubjectFragment/BatchGetSubjectQuery example in the issue, then trace the Subject.Character schema definition. Add actors so the shown query can retrieve them, and verify that the query returns actors as the HTTP API already does.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.