{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5547","repository_url":"https://api.github.com/repos/rethinkdb/rethinkdb","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5547/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5547/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5547/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5547","id":142180109,"number":5547,"title":"Java Driver: ReqlExpr AND / OR inconsistency","user":{"login":"bchavez","id":478118,"avatar_url":"https://avatars.githubusercontent.com/u/478118?v=3","gravatar_id":"","url":"https://api.github.com/users/bchavez","html_url":"https://github.com/bchavez","followers_url":"https://api.github.com/users/bchavez/followers","following_url":"https://api.github.com/users/bchavez/following{/other_user}","gists_url":"https://api.github.com/users/bchavez/gists{/gist_id}","starred_url":"https://api.github.com/users/bchavez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bchavez/subscriptions","organizations_url":"https://api.github.com/users/bchavez/orgs","repos_url":"https://api.github.com/users/bchavez/repos","events_url":"https://api.github.com/users/bchavez/events{/privacy}","received_events_url":"https://api.github.com/users/bchavez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/Java","name":"Java","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/110","html_url":"https://github.com/rethinkdb/rethinkdb/milestones/2.3","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/110/labels","id":1339083,"number":110,"title":"2.3","description":"","creator":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"open_issues":35,"closed_issues":80,"state":"open","created_at":"2015-10-05T20:52:53Z","updated_at":"2016-03-24T20:21:58Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-03-20T16:43:27Z","updated_at":"2016-03-24T21:34:51Z","closed_at":null,"body":"An issue came up in the **C# driver** regarding `ReqlExpr` `And` and `Or` method signatures. https://github.com/bchavez/RethinkDb.Driver/issues/36\r\n\r\nIt also appears the **Java driver** exhibits the same issue, specifically:\r\n\r\n**Java Driver:** [`ReqlExpr.java`](https://github.com/rethinkdb/rethinkdb/blob/next/drivers/java/src/main/java/com/rethinkdb/gen/ast/ReqlExpr.java#L1746)\r\n```\r\npublic Or or(Object exprA, Object... exprs) {\r\n    ....\r\n}\r\npublic And and(Object... exprs) {\r\n    ....\r\n}\r\n```\r\n\r\n**C# Driver:** [`ReqlExpr.cs`](https://github.com/bchavez/RethinkDb.Driver/blob/master/Source/RethinkDb.Driver/Generated/Ast/ReqlExpr.cs#L5807)\r\n```\r\npublic Or Or(Object exprA, params object[] exprs) {\r\n    ....\r\n}\r\npublic And And(params object[] exprs){\r\n    ....\r\n}\r\n```\r\n\r\n@VeXocide mentioned in slack that `r.and()` and `r.or()` were recently changed to accept zero or more arguments referencing: https://github.com/rethinkdb/docs/issues/944\r\n\r\ncc: @quentez"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/201034162","html_url":"https://github.com/rethinkdb/rethinkdb/issues/5547#issuecomment-201034162","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/5547","id":201034162,"user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T21:34:50Z","updated_at":"2016-03-24T21:34:50Z","body":"A fix is in review 3546, and commit https://github.com/rethinkdb/rethinkdb/commit/762875067d0fd951c6c4ff97f1ed32365d9e7a0c .\r\n\r\n@bchavez Note that this required a change to the AstSubclass template, as you can see here: https://github.com/rethinkdb/rethinkdb/commit/762875067d0fd951c6c4ff97f1ed32365d9e7a0c#diff-9952793414fd4dee1b383f0bbd945f7fL43"}}