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: Rust APIのSynthesizerのメソッドをビルダースタイルに #907

Merged

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Dec 26, 2024

内容

api-design.mdでの方針に従い、Rust APIの表層から{Initialize,Synthesis,Tts}Optionsを消してビルダースタイルにする。

* オプショナルな引数は、キーワード引数がある言語であればキーワード引数で、ビルダースタイルが一般的な言語であればビルダースタイルで表現すべきです。

関連 Issue

Refs: #388

その他

帰省の途中、航空機内で実装しました。これが丁度よさそうだったので…

@qryxip qryxip requested a review from Hiroshiba December 26, 2024 16:14
@qryxip qryxip force-pushed the refactor-make-rust-api-synthesizer-methods-builds branch from 2f2cd05 to ec9ac71 Compare December 26, 2024 16:26
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です!

1点だけ!

@qryxip qryxip requested a review from Hiroshiba December 27, 2024 12:57
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 7240507 into VOICEVOX:main Dec 27, 2024
29 checks passed
@qryxip qryxip deleted the refactor-make-rust-api-synthesizer-methods-builds branch December 27, 2024 13:23
qryxip added a commit to qryxip/voicevox_core that referenced this pull request Dec 29, 2024
qryxip added a commit that referenced this pull request Jan 3, 2025
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