Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: <Node path inconsistencies> #327

Open
Shubhdeep12 opened this issue Apr 3, 2023 · 1 comment
Open

[BUG]: <Node path inconsistencies> #327

Shubhdeep12 opened this issue Apr 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Shubhdeep12
Copy link

Issue description

Today, the node path represents using the dot property.

image

which can cause issues under some scenarios as shown above in the screenshot.

Suggested Solution: We can display the node path like this {root}["child1"]["child2"]

Media & Screenshots

No response

Operating system

  • OS: [e.g. iOS]:

  • Browser [e.g. chrome, safari]:

  • Any other details...

Priority this issue should have

Low (slightly annoying)

@Shubhdeep12 Shubhdeep12 added the bug Something isn't working label Apr 3, 2023
@AykutSarac
Copy link
Owner

This is a good argument, but speaking of readability I believe dot notation is better but I see the problem here. Perhaps the solution here could be identify if the object key includes the RegExp \[\d+\] then we can display is as {Root}["members[0]"] then the rest may continue with dot notation. How does that sounds?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants