Repository navigation
fix(extract/config): render inline-table call in list_effect_rules - #53
Conversation
list_effect_rules read `call` via `.as_table()`, which only matches a
standard table ([effect_rules.call]) — inline table
`call = { exact = "PG_TRY" }` (the form users write in config.toml) was
skipped, so `codegraph_config_effects list` showed an empty call.
Switch to `.as_table_like()` (accepts both Table and InlineTable) and
add test effect_rule_list_renders_call covering inline-table rules.
Co-authored-by: CodeGraph agent
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #53 +/- ##
==========================================
- Coverage 80.05% 80.04% -0.02%
==========================================
Files 97 97
Lines 28765 28765
==========================================
- Hits 23029 23026 -3
- Misses 5736 5739 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Merging this PR will not alter performance1 warning
Comparing |
list_effect_rules read
callvia.as_table(), which only matches a standard table ([effect_rules.call]) — inline tablecall = { exact = "PG_TRY" }(the form users write in config.toml) was skipped, socodegraph_config_effects listshowed an empty call.Switch to
.as_table_like()(accepts both Table and InlineTable) and add test effect_rule_list_renders_call covering inline-table rules.Co-authored-by: CodeGraph agent