{"action":"created","issue":{"url":"https://api.github.com/repos/tgriesser/knex/issues/660","labels_url":"https://api.github.com/repos/tgriesser/knex/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/tgriesser/knex/issues/660/comments","events_url":"https://api.github.com/repos/tgriesser/knex/issues/660/events","html_url":"https://github.com/tgriesser/knex/pull/660","id":56410988,"number":660,"title":"Respect union wrap parameter as last argument","user":{"login":"werkt","id":21398,"avatar_url":"https://avatars.githubusercontent.com/u/21398?v=3","gravatar_id":"","url":"https://api.github.com/users/werkt","html_url":"https://github.com/werkt","followers_url":"https://api.github.com/users/werkt/followers","following_url":"https://api.github.com/users/werkt/following{/other_user}","gists_url":"https://api.github.com/users/werkt/gists{/gist_id}","starred_url":"https://api.github.com/users/werkt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/werkt/subscriptions","organizations_url":"https://api.github.com/users/werkt/orgs","repos_url":"https://api.github.com/users/werkt/repos","events_url":"https://api.github.com/users/werkt/events{/privacy}","received_events_url":"https://api.github.com/users/werkt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-02-03T17:40:29Z","updated_at":"2015-03-11T13:58:45Z","closed_at":"2015-02-09T15:45:01Z","pull_request":{"url":"https://api.github.com/repos/tgriesser/knex/pulls/660","html_url":"https://github.com/tgriesser/knex/pull/660","diff_url":"https://github.com/tgriesser/knex/pull/660.diff","patch_url":"https://github.com/tgriesser/knex/pull/660.patch"},"body":"union's wrap parameter was being ignored and misinterpreted when\r\nbuilding statements.  Maintain the spirit of the original implementation\r\n(variable number of callbacks) consistent with other instances of\r\nvariadic-like behavior (select/columns), including handling list of\r\ncallbacks in array, while still processing the wrap parameter.\r\n\r\nUpdated documentation which was missing a reference to wrap, and\r\nprovided a unit test for wrapped unions."},"comment":{"url":"https://api.github.com/repos/tgriesser/knex/issues/comments/78267394","html_url":"https://github.com/tgriesser/knex/pull/660#issuecomment-78267394","issue_url":"https://api.github.com/repos/tgriesser/knex/issues/660","id":78267394,"user":{"login":"khalilTN","id":9549132,"avatar_url":"https://avatars.githubusercontent.com/u/9549132?v=3","gravatar_id":"","url":"https://api.github.com/users/khalilTN","html_url":"https://github.com/khalilTN","followers_url":"https://api.github.com/users/khalilTN/followers","following_url":"https://api.github.com/users/khalilTN/following{/other_user}","gists_url":"https://api.github.com/users/khalilTN/gists{/gist_id}","starred_url":"https://api.github.com/users/khalilTN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khalilTN/subscriptions","organizations_url":"https://api.github.com/users/khalilTN/orgs","repos_url":"https://api.github.com/users/khalilTN/repos","events_url":"https://api.github.com/users/khalilTN/events{/privacy}","received_events_url":"https://api.github.com/users/khalilTN/received_events","type":"User","site_admin":false},"created_at":"2015-03-11T13:58:45Z","updated_at":"2015-03-11T13:58:45Z","body":"Hi, is this already available on npm ?"}}