-
Notifications
You must be signed in to change notification settings - Fork 209
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
整理: Character
利用範囲を拡大
#1385
整理: Character
利用範囲を拡大
#1385
Conversation
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.
ほぼLGTMです!
ちょっとややこしくなってきた印象を受けました!
API用と内部用とで名称をちょっとだけ変えて扱いと対応させる方針は破綻してくる気がします。
(Manifest側の見てそう思いました)
話者情報関連はSpeakerとCharacterですが、初めて見たコミッターにとってだいぶややこしいだろうなと気づきました。
やってみないとわからなかった課題感に気づけてきたので、ちょっとissue作って解決策考える場を用意しても良いかも・・・?
ほんと良い前例があれば真似たいですね・・・。
現在は内部の
👍️ @Hiroshiba |
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.
LGTM!!
こちらもSpeakerとCharacterの範囲がわかるとこまで一気に実装があると変更がわかりやすいかもです。
(可能なら移動だけ先or後に)
内容
内部構造体
Character
の利用範囲を拡大するリファクタリングを提案します。load_combined_metas()
戻り値filter_speakers_and_styles()
引数を
Character
化しました。Speaker
との界面がエンジン内部に未だ存在するため、キャストのためのユーティリティを追加しました。関連 Issue
part of #1313