-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(graphql): add Character & Person & Subject relations #677
Conversation
everpcpc
commented
Jun 28, 2024
•
edited
Loading
edited
- related: feature: 条目-人物关联 #52
- related: feature: 条目-角色关联 #50
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #677 +/- ##
==========================================
- Coverage 81.98% 80.80% -1.18%
==========================================
Files 69 82 +13
Lines 8554 9618 +1064
Branches 405 531 +126
==========================================
+ Hits 7013 7772 +759
- Misses 1536 1846 +310
+ Partials 5 0 -5 ☔ View full report in Codecov by Sentry. |
@trim21 能帮忙搞点测试数据吗,现在 sample data 里的 person & character 有对应关系的太少了,没法测 |
哪几个表? |
是
这四个表里 subject id 为 12 的条目,以及对应展开的 person/character/subject |
好懒,能不能写一下对应的sql( |
什么样的 sql,有例子吗 |
就标准的select,能直接把你要的数据select出来的那种( |
大概这样? |
Downloads.zip 这是 chii_person_cs_index 的 |
|
为啥github让传zip不让传sql? |
hmmm,可以把这些数据直接加到 dev-env 里吗 |
你 PR 一下( |
PTAL cc @trim21 |
// @Column('mediumtext', { | ||
// name: 'prsn_appear_eps', | ||
// comment: '可选,人物参与的章节', | ||
// }) | ||
// appearEps: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
有计划加上对参与章节的支持吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以的吧,有需求可以直接提 PR 改