Skip to content

Unknown TOML keys are silently ignored #100

Description

@lukashes

The struct mapper in zig-toml only reads keys that match struct fields; everything else is dropped without a warning (verified in the pinned dependency source).

A typo silently changes behavior instead of failing:

  • [observabilty] disables metrics with no signal.
  • routing_kye falls back to default routing.

Strict mapping is hard to get from the pinned library. A realistic minimum: print the effective config at startup (partially exists via printConfigInfo) or validate top-level section and key names against the known set by walking the parsed TOML table before mapping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsize/MRelative effort: medium

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions