{"action":"closed","number":437,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/437","id":213926800,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzOTI2ODAw","html_url":"https://github.com/algolia/algoliasearch-client-go/pull/437","diff_url":"https://github.com/algolia/algoliasearch-client-go/pull/437.diff","patch_url":"https://github.com/algolia/algoliasearch-client-go/pull/437.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/437","number":437,"state":"closed","locked":false,"title":"fix: Add missing types for `facetFilters`","user":{"login":"aseure","id":3115191,"node_id":"MDQ6VXNlcjMxMTUxOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3115191?v=4","gravatar_id":"","url":"https://api.github.com/users/aseure","html_url":"https://github.com/aseure","followers_url":"https://api.github.com/users/aseure/followers","following_url":"https://api.github.com/users/aseure/following{/other_user}","gists_url":"https://api.github.com/users/aseure/gists{/gist_id}","starred_url":"https://api.github.com/users/aseure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseure/subscriptions","organizations_url":"https://api.github.com/users/aseure/orgs","repos_url":"https://api.github.com/users/aseure/repos","events_url":"https://api.github.com/users/aseure/events{/privacy}","received_events_url":"https://api.github.com/users/aseure/received_events","type":"User","site_admin":false},"body":"Thanks to one customer report, we discovered that the documentation was\r\nwrong regarding the way to set the `facetFilters` parameter. This commit\r\nadds the support for other types (namely `[][]string` and\r\n`[]interface{}`), so that all the following calls are now legit in Go:\r\n\r\n```go\r\n// category:Book\r\n\"facetFilters\": \"category:Book\"\r\n\r\n// category:Book AND author:J.K. Rowling\r\n\"facetFilters\": []string{\r\n\t\"category:Book\",\r\n\t\"author:J.K. Rowling\",\r\n}\r\n\r\n// (category:Book OR category:Movie) AND (author:J.K. Rowling OR author:Stephen King)\r\n\"facetFilters\": [][]string{\r\n\t[]string{\"category:Book\", \"category:Movie\"},\r\n\t[]string{\"author:J.K. Rowling\", \"author:Stephen King\"},\r\n}\r\n\r\n// (category:Book OR category:Movie) AND author:J.K. Rowling\r\n\"facetFilters\": []interface{}{\r\n\t[]string{\"category:Book\", \"category:Movie\"},\r\n\t\"author:J.K. Rowling\",\r\n}\r\n```","created_at":"2018-09-07T13:23:39Z","updated_at":"2018-09-28T12:00:28Z","closed_at":"2018-09-28T12:00:28Z","merged_at":"2018-09-28T12:00:28Z","merge_commit_sha":"f71d3286cdb3175bdc72560aca0fb1428b0ba211","assignee":null,"assignees":[],"requested_reviewers":[{"login":"julienbourdeau","id":1525636,"node_id":"MDQ6VXNlcjE1MjU2MzY=","avatar_url":"https://avatars1.githubusercontent.com/u/1525636?v=4","gravatar_id":"","url":"https://api.github.com/users/julienbourdeau","html_url":"https://github.com/julienbourdeau","followers_url":"https://api.github.com/users/julienbourdeau/followers","following_url":"https://api.github.com/users/julienbourdeau/following{/other_user}","gists_url":"https://api.github.com/users/julienbourdeau/gists{/gist_id}","starred_url":"https://api.github.com/users/julienbourdeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julienbourdeau/subscriptions","organizations_url":"https://api.github.com/users/julienbourdeau/orgs","repos_url":"https://api.github.com/users/julienbourdeau/repos","events_url":"https://api.github.com/users/julienbourdeau/events{/privacy}","received_events_url":"https://api.github.com/users/julienbourdeau/received_events","type":"User","site_admin":false},{"login":"maxiloc","id":1689007,"node_id":"MDQ6VXNlcjE2ODkwMDc=","avatar_url":"https://avatars3.githubusercontent.com/u/1689007?v=4","gravatar_id":"","url":"https://api.github.com/users/maxiloc","html_url":"https://github.com/maxiloc","followers_url":"https://api.github.com/users/maxiloc/followers","following_url":"https://api.github.com/users/maxiloc/following{/other_user}","gists_url":"https://api.github.com/users/maxiloc/gists{/gist_id}","starred_url":"https://api.github.com/users/maxiloc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxiloc/subscriptions","organizations_url":"https://api.github.com/users/maxiloc/orgs","repos_url":"https://api.github.com/users/maxiloc/repos","events_url":"https://api.github.com/users/maxiloc/events{/privacy}","received_events_url":"https://api.github.com/users/maxiloc/received_events","type":"User","site_admin":false},{"login":"sarahdayan","id":5370675,"node_id":"MDQ6VXNlcjUzNzA2NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/5370675?v=4","gravatar_id":"","url":"https://api.github.com/users/sarahdayan","html_url":"https://github.com/sarahdayan","followers_url":"https://api.github.com/users/sarahdayan/followers","following_url":"https://api.github.com/users/sarahdayan/following{/other_user}","gists_url":"https://api.github.com/users/sarahdayan/gists{/gist_id}","starred_url":"https://api.github.com/users/sarahdayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarahdayan/subscriptions","organizations_url":"https://api.github.com/users/sarahdayan/orgs","repos_url":"https://api.github.com/users/sarahdayan/repos","events_url":"https://api.github.com/users/sarahdayan/events{/privacy}","received_events_url":"https://api.github.com/users/sarahdayan/received_events","type":"User","site_admin":false},{"login":"nunomaduro","id":5457236,"node_id":"MDQ6VXNlcjU0NTcyMzY=","avatar_url":"https://avatars2.githubusercontent.com/u/5457236?v=4","gravatar_id":"","url":"https://api.github.com/users/nunomaduro","html_url":"https://github.com/nunomaduro","followers_url":"https://api.github.com/users/nunomaduro/followers","following_url":"https://api.github.com/users/nunomaduro/following{/other_user}","gists_url":"https://api.github.com/users/nunomaduro/gists{/gist_id}","starred_url":"https://api.github.com/users/nunomaduro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nunomaduro/subscriptions","organizations_url":"https://api.github.com/users/nunomaduro/orgs","repos_url":"https://api.github.com/users/nunomaduro/repos","events_url":"https://api.github.com/users/nunomaduro/events{/privacy}","received_events_url":"https://api.github.com/users/nunomaduro/received_events","type":"User","site_admin":false},{"login":"codeharmonics","id":6850012,"node_id":"MDQ6VXNlcjY4NTAwMTI=","avatar_url":"https://avatars2.githubusercontent.com/u/6850012?v=4","gravatar_id":"","url":"https://api.github.com/users/codeharmonics","html_url":"https://github.com/codeharmonics","followers_url":"https://api.github.com/users/codeharmonics/followers","following_url":"https://api.github.com/users/codeharmonics/following{/other_user}","gists_url":"https://api.github.com/users/codeharmonics/gists{/gist_id}","starred_url":"https://api.github.com/users/codeharmonics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeharmonics/subscriptions","organizations_url":"https://api.github.com/users/codeharmonics/orgs","repos_url":"https://api.github.com/users/codeharmonics/repos","events_url":"https://api.github.com/users/codeharmonics/events{/privacy}","received_events_url":"https://api.github.com/users/codeharmonics/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/437/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/437/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/437/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/d29d6fc33026f7cc01d1abb7a2dcd402aa0e3770","head":{"label":"algolia:fix-facet-filters-allowed-types","ref":"fix-facet-filters-allowed-types","sha":"d29d6fc33026f7cc01d1abb7a2dcd402aa0e3770","user":{"login":"algolia","id":2034458,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMzQ0NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2034458?v=4","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":17736577,"node_id":"MDEwOlJlcG9zaXRvcnkxNzczNjU3Nw==","name":"algoliasearch-client-go","full_name":"algolia/algoliasearch-client-go","private":false,"owner":{"login":"algolia","id":2034458,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMzQ0NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2034458?v=4","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/algolia/algoliasearch-client-go","description":":mag: Algolia Search API Client for Go","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-client-go","forks_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/deployments","created_at":"2014-03-14T05:41:02Z","updated_at":"2018-09-28T09:28:23Z","pushed_at":"2018-09-28T12:00:28Z","git_url":"git://github.com/algolia/algoliasearch-client-go.git","ssh_url":"git@github.com:algolia/algoliasearch-client-go.git","clone_url":"https://github.com/algolia/algoliasearch-client-go.git","svn_url":"https://github.com/algolia/algoliasearch-client-go","homepage":"https://www.algolia.com/doc/api-client/go/getting-started/","size":783,"stargazers_count":83,"watchers_count":83,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":19,"watchers":83,"default_branch":"master"}},"base":{"label":"algolia:master","ref":"master","sha":"b76d1984de7693dbac9876aa58451ab1e3d02a20","user":{"login":"algolia","id":2034458,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMzQ0NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2034458?v=4","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":17736577,"node_id":"MDEwOlJlcG9zaXRvcnkxNzczNjU3Nw==","name":"algoliasearch-client-go","full_name":"algolia/algoliasearch-client-go","private":false,"owner":{"login":"algolia","id":2034458,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwMzQ0NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/2034458?v=4","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/algolia/algoliasearch-client-go","description":":mag: Algolia Search API Client for Go","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-client-go","forks_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/deployments","created_at":"2014-03-14T05:41:02Z","updated_at":"2018-09-28T09:28:23Z","pushed_at":"2018-09-28T12:00:28Z","git_url":"git://github.com/algolia/algoliasearch-client-go.git","ssh_url":"git@github.com:algolia/algoliasearch-client-go.git","clone_url":"https://github.com/algolia/algoliasearch-client-go.git","svn_url":"https://github.com/algolia/algoliasearch-client-go","homepage":"https://www.algolia.com/doc/api-client/go/getting-started/","size":783,"stargazers_count":83,"watchers_count":83,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":19,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":19,"watchers":83,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/437"},"html":{"href":"https://github.com/algolia/algoliasearch-client-go/pull/437"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/437"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/437/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/437/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/437/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/d29d6fc33026f7cc01d1abb7a2dcd402aa0e3770"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"aseure","id":3115191,"node_id":"MDQ6VXNlcjMxMTUxOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3115191?v=4","gravatar_id":"","url":"https://api.github.com/users/aseure","html_url":"https://github.com/aseure","followers_url":"https://api.github.com/users/aseure/followers","following_url":"https://api.github.com/users/aseure/following{/other_user}","gists_url":"https://api.github.com/users/aseure/gists{/gist_id}","starred_url":"https://api.github.com/users/aseure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aseure/subscriptions","organizations_url":"https://api.github.com/users/aseure/orgs","repos_url":"https://api.github.com/users/aseure/repos","events_url":"https://api.github.com/users/aseure/events{/privacy}","received_events_url":"https://api.github.com/users/aseure/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":26,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"aseure"}}