{"action":"created","issue":{"url":"https://api.github.com/repos/lmk123/noshjs/issues/2","repository_url":"https://api.github.com/repos/lmk123/noshjs","labels_url":"https://api.github.com/repos/lmk123/noshjs/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/lmk123/noshjs/issues/2/comments","events_url":"https://api.github.com/repos/lmk123/noshjs/issues/2/events","html_url":"https://github.com/lmk123/noshjs/pull/2","id":368478664,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNjQ3NDYy","number":2,"title":"feat(obj2qs): optional prefix for `?` or `&`","user":{"login":"myst729","id":519733,"node_id":"MDQ6VXNlcjUxOTczMw==","avatar_url":"https://avatars3.githubusercontent.com/u/519733?v=4","gravatar_id":"","url":"https://api.github.com/users/myst729","html_url":"https://github.com/myst729","followers_url":"https://api.github.com/users/myst729/followers","following_url":"https://api.github.com/users/myst729/following{/other_user}","gists_url":"https://api.github.com/users/myst729/gists{/gist_id}","starred_url":"https://api.github.com/users/myst729/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myst729/subscriptions","organizations_url":"https://api.github.com/users/myst729/orgs","repos_url":"https://api.github.com/users/myst729/repos","events_url":"https://api.github.com/users/myst729/events{/privacy}","received_events_url":"https://api.github.com/users/myst729/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-10T03:21:08Z","updated_at":"2018-10-10T06:04:53Z","closed_at":"2018-10-10T06:04:43Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/lmk123/noshjs/pulls/2","html_url":"https://github.com/lmk123/noshjs/pull/2","diff_url":"https://github.com/lmk123/noshjs/pull/2.diff","patch_url":"https://github.com/lmk123/noshjs/pull/2.patch"},"body":"When using the util function, you always have to add a prefix:\r\n\r\n```js\r\n// either\r\nurl += '&' + obj2qs(query)\r\n// or\r\nurl += '?' + obj2qs(query)\r\n```\r\n\r\nThis PR makes it slightly clearer, such that clarifying the prefix is part of the query string.\r\n\r\nP.S. If introduced as a breaking change, recommend to choose either `?` or `&` as the default value, rather than empty string."},"comment":{"url":"https://api.github.com/repos/lmk123/noshjs/issues/comments/428448806","html_url":"https://github.com/lmk123/noshjs/pull/2#issuecomment-428448806","issue_url":"https://api.github.com/repos/lmk123/noshjs/issues/2","id":428448806,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODQ0ODgwNg==","user":{"login":"lmk123","id":5035625,"node_id":"MDQ6VXNlcjUwMzU2MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/5035625?v=4","gravatar_id":"","url":"https://api.github.com/users/lmk123","html_url":"https://github.com/lmk123","followers_url":"https://api.github.com/users/lmk123/followers","following_url":"https://api.github.com/users/lmk123/following{/other_user}","gists_url":"https://api.github.com/users/lmk123/gists{/gist_id}","starred_url":"https://api.github.com/users/lmk123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmk123/subscriptions","organizations_url":"https://api.github.com/users/lmk123/orgs","repos_url":"https://api.github.com/users/lmk123/repos","events_url":"https://api.github.com/users/lmk123/events{/privacy}","received_events_url":"https://api.github.com/users/lmk123/received_events","type":"User","site_admin":false},"created_at":"2018-10-10T06:04:53Z","updated_at":"2018-10-10T06:04:53Z","author_association":"OWNER","body":"Thanks!"}}
{"actor":{"display_login":"lmk123"}}