nushell/crates/nu-protocol/tests
Ian Manske fce6146576
Refactor config updates (#13802)
# Description
This PR standardizes updates to the config through a new
`UpdateFromValue` trait. For now, this trait is private in case we need
to make changes to it.

Note that this PR adds some additional `ShellError` cases to create
standard error messages for config errors. A follow-up PR will move
usages of the old error cases to these new ones. This PR also uses
`Type::custom` in lots of places (e.g., for string enums). Not sure if
this is something we want to encourage.

# User-Facing Changes
Should be none.
2024-10-11 18:40:32 +02:00
..
into_config.rs Refactor config updates (#13802) 2024-10-11 18:40:32 +02:00
test_config.rs Fix IR for try (#13811) 2024-09-09 19:44:04 -07:00
test_pipeline_data.rs Replace ExternalStream with new ByteStream type (#12774) 2024-05-16 07:11:18 -07:00
test_signature.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
test_value.rs Name the Value conversion functions more clearly (#11851) 2024-02-17 18:14:16 +00:00