StubbleOrg / Stubble

Trimmed down {{mustache}} templates in .NET
Other
399 stars 58 forks source link

Parent nested object access #122

Closed phspies closed 2 years ago

phspies commented 2 years ago

I'm trying to access a parent nested value from a child loop. I tried a couple of combinations, but cannot get this to work.

{{#operations}}
{{#operation.parameters}}
{{operations.current.name}} {{operations.parameters.current.name}}
{{#/operation.parameters}}
{{#/operations}}
Romanx commented 2 years ago

Hey there,

Would you mind creating a minimal reproduction I could use to try narrow this down?

Romanx commented 2 years ago

Hey i'm going to close this due to inactivity, feel free to open a new issue with a minimal reproduction if you're still having issues.