Skip to content
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

refactor: VVMマニフェストで#[serde(flatten)]を活用 #891

Merged

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Dec 11, 2024

内容

#825 を前提としたリファクタ。

関連 Issue

その他

別リポジトリでVVMマニフェストを触っていて思い付きました。

@qryxip qryxip requested a review from Hiroshiba December 11, 2024 18:48
@qryxip qryxip force-pushed the refactor-use-serde-flatten-for-vvm-manifest branch 2 times, most recently from 3168837 to a9cb5e1 Compare December 12, 2024 00:24
@qryxip qryxip force-pushed the refactor-use-serde-flatten-for-vvm-manifest branch from a9cb5e1 to a8e3713 Compare December 12, 2024 00:42
@Hiroshiba
Copy link
Member

Hiroshiba commented Dec 12, 2024

前提がわかっていないのですが、 #825 がdraftだけどこっちだけでレビューして良い感じでしょうか? 👀

@qryxip
Copy link
Member Author

qryxip commented Dec 12, 2024

はい。よくない表現だった。 #825 と合わせたときに綺麗なコードになることをイメージしています。

[追記] 綺麗なコードになるというのは具体的には、enum TalkOperationFilenameKeyimpl Index<TalkOperation> for TalkManifestが消えます(TODOを付けてます)

@Hiroshiba
Copy link
Member

ああなるほど!!
レビューして大丈夫そうなのでレビューします!🙏

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(ちょっとちゃんとわかってないけど)LGTM!!

@qryxip qryxip merged commit 5c01e9c into VOICEVOX:main Dec 12, 2024
34 checks passed
qryxip added a commit to qryxip/voicevox_core that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants