{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/10","labels_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/10/comments","events_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/10/events","html_url":"https://github.com/ParsePlatform/Parse-SDK-JS/issues/10","id":107836709,"number":10,"title":"matchesQuery API on a Relation gives error code 102","user":{"login":"jclalala","id":7856488,"avatar_url":"https://avatars.githubusercontent.com/u/7856488?v=3","gravatar_id":"","url":"https://api.github.com/users/jclalala","html_url":"https://github.com/jclalala","followers_url":"https://api.github.com/users/jclalala/followers","following_url":"https://api.github.com/users/jclalala/following{/other_user}","gists_url":"https://api.github.com/users/jclalala/gists{/gist_id}","starred_url":"https://api.github.com/users/jclalala/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jclalala/subscriptions","organizations_url":"https://api.github.com/users/jclalala/orgs","repos_url":"https://api.github.com/users/jclalala/repos","events_url":"https://api.github.com/users/jclalala/events{/privacy}","received_events_url":"https://api.github.com/users/jclalala/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/labels/needs%20more%20info","name":"needs more info","color":"ffeea9"}],"state":"open","locked":false,"assignee":{"login":"andrewimm","id":494043,"avatar_url":"https://avatars.githubusercontent.com/u/494043?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewimm","html_url":"https://github.com/andrewimm","followers_url":"https://api.github.com/users/andrewimm/followers","following_url":"https://api.github.com/users/andrewimm/following{/other_user}","gists_url":"https://api.github.com/users/andrewimm/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewimm/subscriptions","organizations_url":"https://api.github.com/users/andrewimm/orgs","repos_url":"https://api.github.com/users/andrewimm/repos","events_url":"https://api.github.com/users/andrewimm/events{/privacy}","received_events_url":"https://api.github.com/users/andrewimm/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-09-23T01:58:50Z","updated_at":"2015-09-28T22:24:15Z","closed_at":null,"body":"We have added a \"joinCommunity\" relation to the User object and use the following query.\r\n\r\nnew Parse.Query(\"User\").matchesQuery(\"joinCommunity\", new Parse.Query(\"Community\").equalTo(\"objectId\", \"acMv7RpF1l\")).find()\r\n\r\nThe above gives the following error in SDK v1.6.2:\r\n{code: 102, message: \"bad type for $inQuery\"}\r\n\r\nThe SAME query works in v1.5.0."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/comments/143890991","html_url":"https://github.com/ParsePlatform/Parse-SDK-JS/issues/10#issuecomment-143890991","issue_url":"https://api.github.com/repos/ParsePlatform/Parse-SDK-JS/issues/10","id":143890991,"user":{"login":"andrewimm","id":494043,"avatar_url":"https://avatars.githubusercontent.com/u/494043?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewimm","html_url":"https://github.com/andrewimm","followers_url":"https://api.github.com/users/andrewimm/followers","following_url":"https://api.github.com/users/andrewimm/following{/other_user}","gists_url":"https://api.github.com/users/andrewimm/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewimm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewimm/subscriptions","organizations_url":"https://api.github.com/users/andrewimm/orgs","repos_url":"https://api.github.com/users/andrewimm/repos","events_url":"https://api.github.com/users/andrewimm/events{/privacy}","received_events_url":"https://api.github.com/users/andrewimm/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T22:24:15Z","updated_at":"2015-09-28T22:24:15Z","body":"@jclalala can you provide a reproducible test case? I've created what I believe is an analogous setup, and running a query shaped like the one you linked to above succeeds for me with the latest version of the SDK."}}