Files
sow-tools/internal
archvillainette 4ee28fee4f
test / test (push) Successful in 1m27s
build-binaries / build-binaries (push) Successful in 2m22s
build-image / publish (push) Successful in 15s
feat: extract set_fields rule forces Int fields on gff_json merge targets (#40)
Adds a `set_fields` option to `extract.merge.gff_json` rules: forces existing Int fields to a fixed value on every extract, applied after preserve_fields/merge_lists so the forced value always wins. Fields absent from the document stay absent. Rule targets can now be globs (e.g. `areas/*.are.json`).

Motivation: sow-module area weather chances must stay 0 (scripted regional weather owns weather); this makes the extract pipeline enforce it instead of a post-extract script.

Covered by `TestExtractSetsConfiguredGFFJSONFields`; `make check` passes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Reviewed-on: #40
Co-authored-by: vickydotbat <vickydotbat@tutamail.com>
Co-committed-by: vickydotbat <vickydotbat@tutamail.com>
2026-07-14 16:36:40 +00:00
..
2026-06-25 09:29:39 +00:00
2026-07-12 12:51:17 +00:00
2026-06-11 22:47:22 +02:00
2026-06-20 10:32:20 +00:00
2026-07-12 12:51:17 +00:00
2026-07-08 18:37:18 +00:00
2026-06-13 09:49:29 +02:00
2026-06-25 09:29:39 +00:00
2026-06-25 09:29:39 +00:00