`=[[]].field` returns <empty list>
See original GitHub issueHello.
Before, =[[]].field
and =this.field
were equivalent.
Now, =[[]].field
seems to be always rendered as <empty list>
.
This might be intented since this
makes more sense than [[]]
…?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
django rest framework serializer - doesn't return empty list field
I have a serializer for a model that contains JsonField. I want to always return specific fields, even when they ...
Read more >Adding State parameter with lookup to report returns empty list
Hello,I am having trouble getting a parameter with lookup to =Report.GetFieldSchema('ARShippingAddress.State') lookup works but returns an ...
Read more >Django (REST Framework) Returns Empty List Every Other ...
So, if I have NumProcesses=3 , then the application will return empty set 2/3. Which means that only one of three processes has...
Read more >SOQL returns empty list for Quote - Salesforce Stack Exchange
When I query for objects like Account, OpportunityLineItem or Lead the data is returned correctly. The problem occurs specifically for Quote and ...
Read more >Elasticsearch Retriever Returns Empty List #1904 - GitHub
0.0 and I have no pre-built index, created a new index with "content" field. and while retrieving, I am getting the issue that...
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
Try
I hope this won’t break eventually, since it’s a “legal” link to “this file top”, as in HTML (no heading given).
I had no idea
[[]]
ever actually resolved to the current file! The reason it must have done that is through a quirk in Obsidian’s file resolver where trying to link to""
would just return the current file.The reason it returns an empty list now is that empty brackets resolve to a doubly-nested list (since adding primitive list syntax in 0.4.4), which you then index ‘field’, yielding an empty list (since
[].field = []
).I will revert that behavior to restore
[[]]
functionality to not break people, though this is unintended behavior and I will likely break it in the future. Usage ofthis
is definitely preferred for referencing the current file.