nushell/crates/nu-protocol/src/value
Reilly Wood 83ddf0ebe2
Make optional cell paths work with reject (#8697)
This PR makes `?` work with `reject`. For example:

```bash
> {} | reject foo
Error: nu:🐚:column_not_found

  × Cannot find column
   ╭─[entry #2:1:1]
 1 │ {} | reject foo
   ·      ───┬── ─┬─
   ·         │    ╰── cannot find column 'foo'
   ·         ╰── value originates here
   ╰────

> {} | reject foo?
╭──────────────╮
│ empty record │
╰──────────────╯
```

This was prompted by [a user
question](https://discord.com/channels/601130461678272522/614593951969574961/1091466428546306078).
I would like to get this in for 0.78, I think it's low-risk and I want
the `?` feature to be as polished as possible for its debut.
2023-03-31 16:40:19 -07:00
..
custom_value.rs Fix to json for SQLite databases (#8343) 2023-03-06 14:36:26 -08:00
from_value.rs Add pattern matching (#8590) 2023-03-24 14:52:01 +13:00
from.rs Document and critically review ShellError variants - Ep. 3 (#8340) 2023-03-06 18:33:09 +01:00
lazy_record.rs LazyRecord (#7619) 2023-01-18 19:27:26 -08:00
mod.rs Make optional cell paths work with reject (#8697) 2023-03-31 16:40:19 -07:00
range.rs Box ShellError in Value::Error (#8375) 2023-03-12 09:57:27 +01:00
stream.rs Disable pipeline echo (#8292) 2023-03-17 11:53:46 +13:00
unit.rs Remove month and year duration constants (#6613) 2022-09-26 09:55:13 +13:00