Skip to content

[Bug]: 親フレーバーをhooq.tomlで定義した際、デフォルトの子フレーバーにその親フレーバーの設定が引き継がれない問題がある #158

@anotherhollow1125

Description

@anotherhollow1125

📌 Summary / 概要

表題の通り。プリセットフレーバーであるlogとtracingについて、ユーザーがhooq.tomlでこれらの設定を [log] セクションまたは [tracing] セクションで上書きした場合、例えば [log.warn][log] のユーザーによる設定が引き継がれない問題がある。

🔁 Steps to Reproduce / 再現手順

(略)

✅ Expected Behavior / 期待する挙動

[log][tracing] への設定を行うと [log.warn] 等にもその設定が反映されること

❌ Actual Behavior / 実際の挙動

反映されない。 [log.warn] を始めとしてすべてのサブフレーバーについて明示的に設定する必要がある。

📄 Logs / ログ

(略)

🧩 Minimal Code / 最小コード

()

🖥 Environment / 環境

  • hooq: v0.3.2 実装中に気づいたのでそれ以前のバージョン

✅ Checklist / チェックリスト

  • I searched existing issues and discussions. / 既存Issue/Discussionを検索しました
  • I can reproduce this on the latest release (or main). / 最新版(またはmain)で再現します
  • I included a minimal reproduction. / 最小再現を用意しました
  • If this involves a security issue, I will not disclose details publicly. / セキュリティ関連なら詳細を公開しません

📝 Additional Context / 追加情報

なおこれは原理的にプリセットフレーバー特有の現象と考えられる

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions