{"action":"closed","issue":{"url":"https://api.github.com/repos/michaellperry/jinaga/issues/15","labels_url":"https://api.github.com/repos/michaellperry/jinaga/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/michaellperry/jinaga/issues/15/comments","events_url":"https://api.github.com/repos/michaellperry/jinaga/issues/15/events","html_url":"https://github.com/michaellperry/jinaga/issues/15","id":104398198,"number":15,"title":"Parse field values in template functions","user":{"login":"michaellperry","id":68170,"avatar_url":"https://avatars.githubusercontent.com/u/68170?v=3","gravatar_id":"","url":"https://api.github.com/users/michaellperry","html_url":"https://github.com/michaellperry","followers_url":"https://api.github.com/users/michaellperry/followers","following_url":"https://api.github.com/users/michaellperry/following{/other_user}","gists_url":"https://api.github.com/users/michaellperry/gists{/gist_id}","starred_url":"https://api.github.com/users/michaellperry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaellperry/subscriptions","organizations_url":"https://api.github.com/users/michaellperry/orgs","repos_url":"https://api.github.com/users/michaellperry/repos","events_url":"https://api.github.com/users/michaellperry/events{/privacy}","received_events_url":"https://api.github.com/users/michaellperry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-02T03:56:38Z","updated_at":"2015-09-04T03:10:22Z","closed_at":"2015-09-04T03:10:22Z","body":"When a template function assigns a field a value, convert that pair into a field value condition. For example:\r\n\r\n```JavaScript\r\n  function tasksInList(l) {\r\n    return {\r\n      type: \"Task\",\r\n      list: l\r\n    };\r\n  }\r\n```\r\n\r\nBecomes the query **S.list F.type=\"Task\"**."}}