{"action":"created","issue":{"url":"https://api.github.com/repos/linkedin/dustjs/issues/616","labels_url":"https://api.github.com/repos/linkedin/dustjs/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/linkedin/dustjs/issues/616/comments","events_url":"https://api.github.com/repos/linkedin/dustjs/issues/616/events","html_url":"https://github.com/linkedin/dustjs/issues/616","id":66222137,"number":616,"title":"Is it possible to render an object stream context variable rather than an array?","user":{"login":"bleupen","id":3449070,"avatar_url":"https://avatars.githubusercontent.com/u/3449070?v=3","gravatar_id":"","url":"https://api.github.com/users/bleupen","html_url":"https://github.com/bleupen","followers_url":"https://api.github.com/users/bleupen/followers","following_url":"https://api.github.com/users/bleupen/following{/other_user}","gists_url":"https://api.github.com/users/bleupen/gists{/gist_id}","starred_url":"https://api.github.com/users/bleupen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleupen/subscriptions","organizations_url":"https://api.github.com/users/bleupen/orgs","repos_url":"https://api.github.com/users/bleupen/repos","events_url":"https://api.github.com/users/bleupen/events{/privacy}","received_events_url":"https://api.github.com/users/bleupen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/linkedin/dustjs/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/linkedin/dustjs/labels/question","name":"question","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-04-03T20:26:56Z","updated_at":"2015-04-04T16:51:56Z","closed_at":null,"body":"hello,\r\n\r\nI am trying to push a node object stream though a dust template, whose output is also streamed. is this possible?\r\n\r\nFor example: \r\n\r\n```javascript\r\nvar recordStream = mydbconn.query('...').stream();\r\nvar ctx = {\r\n   records: recordStream\r\n};\r\ndust.stream('myTemplate', ctx); \r\n```\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/linkedin/dustjs/issues/comments/89613855","html_url":"https://github.com/linkedin/dustjs/issues/616#issuecomment-89613855","issue_url":"https://api.github.com/repos/linkedin/dustjs/issues/616","id":89613855,"user":{"login":"sethkinast","id":1399532,"avatar_url":"https://avatars.githubusercontent.com/u/1399532?v=3","gravatar_id":"","url":"https://api.github.com/users/sethkinast","html_url":"https://github.com/sethkinast","followers_url":"https://api.github.com/users/sethkinast/followers","following_url":"https://api.github.com/users/sethkinast/following{/other_user}","gists_url":"https://api.github.com/users/sethkinast/gists{/gist_id}","starred_url":"https://api.github.com/users/sethkinast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethkinast/subscriptions","organizations_url":"https://api.github.com/users/sethkinast/orgs","repos_url":"https://api.github.com/users/sethkinast/repos","events_url":"https://api.github.com/users/sethkinast/events{/privacy}","received_events_url":"https://api.github.com/users/sethkinast/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T16:51:56Z","updated_at":"2015-04-04T16:51:56Z","body":"A Stream is just another object as far as Dust is (currently) concerned-- if you try to output it, you'll get [object Object].\r\n\r\nI wrote #617 last night to allow Dust to handle Streams in context."}}