nushell/crates/nu-command/tests
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
..
commands Make optional cell paths work with reject (#8697) 2023-03-31 16:40:19 -07:00
format_conversions Remove proptests for nuon writing/parsing (#8688) 2023-03-31 17:15:16 +02:00
main.rs Expand Nushell's help system (#7611) 2022-12-30 17:44:37 +02:00