Many template libs support tuple iteration of map in 'for' statement, just like: {% for type, style in config.styles %} and data is {"config":{"style":{"www":"styles/www.css"}}}, but jinja.dart consider
key as map iterator instead of MapEntry, I think entry is a better solution and find it easy to implement it, so I create a PR, could this feature be considered?
Many template libs support tuple iteration of map in 'for' statement, just like:
{% for type, style in config.styles %}
and data is{"config":{"style":{"www":"styles/www.css"}}}
, but jinja.dart considerkey as map iterator instead of MapEntry, I think entry is a better solution and find it easy to implement it, so I create a PR, could this feature be considered?