question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

prop names with dots

See original GitHub issue

I’m submitting a … (check one with “x”)

[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior

When property names are with dot notation like from an elastic search : “body.property.subproperty” the deep-getter fails to retrieve the value of the cell Expected behavior

Deep-getter should have a check if obj[path] returns a value and if no then it can proceed in destructuring the path. Reproduction of the problem Provide an object with keys names in following format: “main.property” “main.property.subproperty”

What is the motivation / use case for changing the behavior?

when using the datatable with serverside Java elastic search
Please tell us about your environment:

os: win32 x64

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
arlowhitecommented, Apr 7, 2017

My PR was just merged. 😃 So fixing this is just a few lines of code in column-prop-getters.ts

I will create a PR to fix this soon unless someone else says they’re already working on it.

0reactions
amcdnlcommented, Apr 15, 2017

@arlowhite - did you have a chance to make this PR yet?

Read more comments on GitHub >

github_iconTop Results From Across the Web

JSON Property names with dots in Javascript using Jackson ...
Show activity on this post. But the properties with dots are created as subclasses in Json output instead a property field with dot....
Read more >
Object Dot Notation - Grasshopper
Dot notation is one way to access a property of an object. To use dot notation, write the name of the object, followed...
Read more >
Spring @Value and resolving property names with dots
I'm moving a legacy application (I seem to be doing that a lot recently) to Spring and injecting properties with @Value into Spring...
Read more >
Property accessors - JavaScript - MDN Web Docs - Mozilla
The keys in this array are the names of the object's properties. There are two ways to access properties: dot notation and bracket...
Read more >
Dots are used in form-tag names. - Contact Form 7
You can use dots ( . ) in a form-tag name, but that is not recommended. While the HTML specification allows dots in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found