diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-11 13:05:31 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-08-11 13:05:31 +0200 |
| commit | 03d414cb1847fa4bdf4b9d521d6d2c0a47766113 (patch) | |
| tree | 6d43866f3485294c5498878ff77abe22ab81946d /lib/kernel/temporal.ml | |
| parent | 5046defebb8e04d00489a6be070b1b7e7a49ce84 (diff) | |
| download | colitur-03d414cb1847fa4bdf4b9d521d6d2c0a47766113.tar.gz colitur-03d414cb1847fa4bdf4b9d521d6d2c0a47766113.zip | |
fix(record): derive headers and to_row from a single columns list
Make alignment impossible: both headers and to_row are derived from a single
list of (name, extractor) pairs, so reordering one without the other is
impossible. CSV schema cannot silently mislabel columns.
Add a meaningful test that pins the header names in order, not just length.
This catches column reordering regressions.
Diffstat (limited to 'lib/kernel/temporal.ml')
0 files changed, 0 insertions, 0 deletions
