nushell/crates/nu-command/src/strings
Stefan Holderbach 8cfa96b4c0
Construct Records only through checked helpers (#11386)
# Description

Constructing the internals of `Record` without checking the lengths is
bad. (also incompatible with changes to how we store records)

- Use `Record::from_raw_cols_vals` in dataframe code
- Use `record!` macro in dataframe test
- Use `record!` in `nu-color-config` tests
- Stop direct record construction in `nu-command`
- Refactor table construction in `from nuon`

# User-Facing Changes
None

# Tests + Formatting
No new tests, updated tests in equal fashion
2023-12-21 16:48:15 +01:00
..
encode_decode Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
format Add format meta command (#11334) 2023-12-15 14:57:18 +08:00
split Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
str_ 📝 Update str trim CLI help doc (#11383) 2023-12-20 14:23:41 -06:00
char_.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
detect_columns.rs Construct Records only through checked helpers (#11386) 2023-12-21 16:48:15 +01:00
mod.rs remove size command in favor of str stats (#10784) 2023-11-17 06:49:19 +08:00
parse.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00