-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Cell path display output doesn't escape/quote properly #13362
Copy link
Copy link
Closed
Labels
A:cell-path-semanticsAll around the cell path type and its semantics for accessAll around the cell path type and its semantics for accesscategory:bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
The current Display implementation for CellPath directly outputs both the string key/column members and int row. This makes it impossible to distinguish columns from rows should they contain only numbers or contain a dot.
How to reproduce
> $.0."0"
0.0
> $."foo.bar".baz
foo.bar.bazExpected behavior
Either...
> $.0."0"
0."0"
> $."foo.bar".baz
"foo.bar".baz... or
> $.0."0"
$.0."0"
> $."foo.bar".baz
$."foo.bar".bazConfiguration
| key | value |
|---|---|
| version | 0.95.1 |
| major | 0 |
| minor | 95 |
| patch | 1 |
| branch | main |
| commit_hash | f65bc97 |
| build_os | linux-x86_64 |
| build_target | x86_64-unknown-linux-gnu |
| rust_version | rustc 1.77.2 (25ef9e3d8 2024-04-09) |
| rust_channel | 1.77.2-x86_64-unknown-linux-gnu |
| cargo_version | cargo 1.77.2 (e52e36006 2024-03-26) |
| build_time | 2024-07-12 10:59:10 +02:00 |
| build_rust_channel | debug |
| allocator | mimalloc |
| features | default, sqlite, system-clipboard, trash |
| installed_plugins |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:cell-path-semanticsAll around the cell path type and its semantics for accessAll around the cell path type and its semantics for accesscategory:bugSomething isn't workingSomething isn't working