Closed
Description
In GitLab by @bcdickinson on Dec 19, 2017, 22:15
Motivating example from: search results. search_results
value is both iterated and accessed with dot notation:
{% for result in search_results %}
{% if search_results.paginator.count %}
The YAML format doesn't support specifying values that behave this way. A possible suggestion would be to allow numeric keys in the YAML e.g.
search_results:
paginator:
count: 42
0: ... # result 1
1: ... # result 2
...