prop names with dots
See original GitHub issueI’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
- Table version: 0.7.x 6.3.0
- Angular version: 2.0.x @angular/cli: 1.0.0-rc.1 node: 6.9.2 @angular/common: 2.4.9 @angular/compiler: 2.4.9 @angular/core: 2.4.9 @angular/forms: 2.4.9 @angular/http: 2.4.9 @angular/platform-browser: 2.4.9 @angular/platform-browser-dynamic: 2.4.9 @angular/router: 3.4.9 @angular/cli: 1.0.0-rc.1 @angular/compiler-cli: 2.4.9
- Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
- Language: [all | TypeScript X.X | ES6/7 | ES5]
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
@arlowhite - did you have a chance to make this PR yet?