{"action":"created","issue":{"url":"https://api.github.com/repos/jdiamond/Nustache/issues/62","labels_url":"https://api.github.com/repos/jdiamond/Nustache/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/jdiamond/Nustache/issues/62/comments","events_url":"https://api.github.com/repos/jdiamond/Nustache/issues/62/events","html_url":"https://github.com/jdiamond/Nustache/issues/62","id":20353089,"number":62,"title":"1.13.8.22 breaks nested fully qualified access.","user":{"login":"mburbea","id":213233,"avatar_url":"https://avatars.githubusercontent.com/u/213233?v=3","gravatar_id":"","url":"https://api.github.com/users/mburbea","html_url":"https://github.com/mburbea","followers_url":"https://api.github.com/users/mburbea/followers","following_url":"https://api.github.com/users/mburbea/following{/other_user}","gists_url":"https://api.github.com/users/mburbea/gists{/gist_id}","starred_url":"https://api.github.com/users/mburbea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mburbea/subscriptions","organizations_url":"https://api.github.com/users/mburbea/orgs","repos_url":"https://api.github.com/users/mburbea/repos","events_url":"https://api.github.com/users/mburbea/events{/privacy}","received_events_url":"https://api.github.com/users/mburbea/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jdiamond/Nustache/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"Romanx","id":3742408,"avatar_url":"https://avatars.githubusercontent.com/u/3742408?v=3","gravatar_id":"","url":"https://api.github.com/users/Romanx","html_url":"https://github.com/Romanx","followers_url":"https://api.github.com/users/Romanx/followers","following_url":"https://api.github.com/users/Romanx/following{/other_user}","gists_url":"https://api.github.com/users/Romanx/gists{/gist_id}","starred_url":"https://api.github.com/users/Romanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romanx/subscriptions","organizations_url":"https://api.github.com/users/Romanx/orgs","repos_url":"https://api.github.com/users/Romanx/repos","events_url":"https://api.github.com/users/Romanx/events{/privacy}","received_events_url":"https://api.github.com/users/Romanx/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/jdiamond/Nustache/milestones/1","html_url":"https://github.com/jdiamond/Nustache/milestones/1.14.0","labels_url":"https://api.github.com/repos/jdiamond/Nustache/milestones/1/labels","id":1053297,"number":1,"title":"1.14.0","description":"","creator":{"login":"Romanx","id":3742408,"avatar_url":"https://avatars.githubusercontent.com/u/3742408?v=3","gravatar_id":"","url":"https://api.github.com/users/Romanx","html_url":"https://github.com/Romanx","followers_url":"https://api.github.com/users/Romanx/followers","following_url":"https://api.github.com/users/Romanx/following{/other_user}","gists_url":"https://api.github.com/users/Romanx/gists{/gist_id}","starred_url":"https://api.github.com/users/Romanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romanx/subscriptions","organizations_url":"https://api.github.com/users/Romanx/orgs","repos_url":"https://api.github.com/users/Romanx/repos","events_url":"https://api.github.com/users/Romanx/events{/privacy}","received_events_url":"https://api.github.com/users/Romanx/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":0,"state":"open","created_at":"2015-04-05T11:02:14Z","updated_at":"2015-04-05T12:04:38Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2013-10-01T19:29:26Z","updated_at":"2015-04-05T12:06:55Z","closed_at":null,"body":"In my application  I use nustache to generate sql statement that I send to dapper.\r\n\r\nI use a dictionary to represent my rendering universe with variables for server side consumption prefixed with a $ sign. I also do this to \"mustachify\" certain system variables.  so I might want to do certain things on GET or on certain routes. Based on the presence of an id in a route.\r\n\r\nHere is a simplified template that Is breaking:\r\n```sql\r\n{{#$request.$isGET}}\r\n{{#$request.id}}\r\nselect 'TruePath' [Path],@id [id]\r\n###params###\r\nid\r\n{{/$request.id}}\r\n{{^$request.id}}\r\nselect 'FalsePath' [Path]\r\n###params###\r\n{{/$request.id}}\r\n{{/$request.$isGET}}\r\n```\r\n###params### is a construct I use to help with query plan caching.\r\n\r\nAnd the state of my universe (jsonified version of the universe object)::\r\n```json\r\n{\r\n    \"$request\": {\r\n        \"$route\": {\r\n            \"hasId\": true\r\n        },\r\n        \"id\": 3,\r\n        \"hasIdId\": 3,\r\n        \"$isGET\": true\r\n    },\r\n    \"$sqlparams\": {\r\n        \"id\": 3,\r\n        \"hasIdId\": 3\r\n    },\r\n    \"$template\": \"hasId\"\r\n}\r\n```\r\npayload,$request,$sqlparams are all `Dictionary<string,object>`\r\n\r\nExpected output from this should be that the template renders \r\n```sql\r\nselect 'TruePath' [Path],@id [id]\r\n###params###\r\nid\r\n```\r\ninstead it renders:\r\n```sql\r\nselect 'FalsePath' [Path]\r\n###params###\r\n```\r\nEdit again:\r\nHere is the test simplified into a single failing statement.\r\n```csharp\r\nRender.StringToString(@\"{{#a.b}}{{#a.c}}I should render.{{/a.c}}{{/a.b}}\", new Dictionary<string, object> { { \"a\", new Dictionary<string, object> { { \"b\", 3 }, { \"c\", true } } } })\r\n```\r\n\r\nTrymustache.com renders this correctly even when I just use this as my json\r\n```json\r\n{\r\n    \"a\":{\"b\":3,\"c\":true}\r\n}\r\n```\r\nAlso this case was working in 1.13.6.20"},"comment":{"url":"https://api.github.com/repos/jdiamond/Nustache/issues/comments/89757424","html_url":"https://github.com/jdiamond/Nustache/issues/62#issuecomment-89757424","issue_url":"https://api.github.com/repos/jdiamond/Nustache/issues/62","id":89757424,"user":{"login":"Romanx","id":3742408,"avatar_url":"https://avatars.githubusercontent.com/u/3742408?v=3","gravatar_id":"","url":"https://api.github.com/users/Romanx","html_url":"https://github.com/Romanx","followers_url":"https://api.github.com/users/Romanx/followers","following_url":"https://api.github.com/users/Romanx/following{/other_user}","gists_url":"https://api.github.com/users/Romanx/gists{/gist_id}","starred_url":"https://api.github.com/users/Romanx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Romanx/subscriptions","organizations_url":"https://api.github.com/users/Romanx/orgs","repos_url":"https://api.github.com/users/Romanx/repos","events_url":"https://api.github.com/users/Romanx/events{/privacy}","received_events_url":"https://api.github.com/users/Romanx/received_events","type":"User","site_admin":false},"created_at":"2015-04-05T12:06:55Z","updated_at":"2015-04-05T12:06:55Z","body":"Hey Everyone,\r\n\r\nI know this has been outstanding for a long time and i'm trying to get through the backlog. @rafarhat created a pull request with a fix for this which I've just merged into the dev branch and it will be in the next release. \r\n\r\nI'm planning to get an RC build of this release up soon, thanks for your patience "}}