{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-js/issues/1812","repository_url":"https://api.github.com/repos/realm/realm-js","labels_url":"https://api.github.com/repos/realm/realm-js/issues/1812/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-js/issues/1812/comments","events_url":"https://api.github.com/repos/realm/realm-js/issues/1812/events","html_url":"https://github.com/realm/realm-js/issues/1812","id":325605019,"number":1812,"title":"Queries on list of strings property ","user":{"login":"Sdoy","id":10302939,"avatar_url":"https://avatars1.githubusercontent.com/u/10302939?v=4","gravatar_id":"","url":"https://api.github.com/users/Sdoy","html_url":"https://github.com/Sdoy","followers_url":"https://api.github.com/users/Sdoy/followers","following_url":"https://api.github.com/users/Sdoy/following{/other_user}","gists_url":"https://api.github.com/users/Sdoy/gists{/gist_id}","starred_url":"https://api.github.com/users/Sdoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sdoy/subscriptions","organizations_url":"https://api.github.com/users/Sdoy/orgs","repos_url":"https://api.github.com/users/Sdoy/repos","events_url":"https://api.github.com/users/Sdoy/events{/privacy}","received_events_url":"https://api.github.com/users/Sdoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-23T08:41:04Z","updated_at":"2018-05-24T13:41:11Z","closed_at":null,"author_association":"NONE","body":"<!---\r\n\r\nQuestions: If you have questions about HOW TO use Realm, please ask on\r\nStackOverflow: http://stackoverflow.com/questions/ask?tags=realm\r\nWe monitor the `realm` tag.\r\n\r\nFeature Request: Just fill in the first two sections below.\r\n\r\nBugs: To help you as fast as possible with an issue please describe your issue\r\nand the steps you have taken to reproduce it in as much detail as possible.\r\n\r\n-->\r\n\r\n## Goals\r\n\r\n filtered list of strings property\r\n\r\n<!--- What are you trying to achieve? -->\r\n\r\n## Code Sample\r\n```\r\nconst BookrackSchema = {\r\n    name: 'Bookrack',\r\n    properties: {\r\n        book_names:'string[]',\r\n    }\r\n};\r\n\r\nBookrack1.book_names=['A','B','C'];\r\nBookrack2.book_names=['B','C','D'];\r\nBookrack3.book_names=['C','D','E'];\r\n\r\n\r\na:realm.objects('Bookrack').filtered(`ANY book_names = $0 `,'B');\r\nb:realm.objects('Bookrack').filtered(`book_names CONTAINS  $0 `,'B');\r\n```\r\n\r\n## Expected Results\r\n\r\nget Bookrack1 And Bookrack2\r\n<!--- What did you expect to happen? -->\r\n\r\n## Actual Results\r\n\r\na.The keypath following 'ANY' or 'SOME' must contain a list\r\nb.Object type 'Table' not supported\r\n<!--- What happened instead? -->\r\n<!--- e.g. the stack trace of a crash -->\r\n\r\n## Steps to Reproduce\r\n\r\n<!--- What are steps we can follow to reproduce this issue? -->\r\n\r\n\r\n\r\n## Version of Realm and Tooling\r\n\r\n- Realm JS SDK Version: ?\"realm\": \"^2.3.0\"\r\n- Node or React Native: ?node 8.4.0\r\n- Client OS & Version: ?mac 10.13.4\r\n- Which debugger for React Native: ?/None\r\n"},"comment":{"url":"https://api.github.com/repos/realm/realm-js/issues/comments/391718783","html_url":"https://github.com/realm/realm-js/issues/1812#issuecomment-391718783","issue_url":"https://api.github.com/repos/realm/realm-js/issues/1812","id":391718783,"user":{"login":"kneth","id":1225363,"avatar_url":"https://avatars0.githubusercontent.com/u/1225363?v=4","gravatar_id":"","url":"https://api.github.com/users/kneth","html_url":"https://github.com/kneth","followers_url":"https://api.github.com/users/kneth/followers","following_url":"https://api.github.com/users/kneth/following{/other_user}","gists_url":"https://api.github.com/users/kneth/gists{/gist_id}","starred_url":"https://api.github.com/users/kneth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kneth/subscriptions","organizations_url":"https://api.github.com/users/kneth/orgs","repos_url":"https://api.github.com/users/kneth/repos","events_url":"https://api.github.com/users/kneth/events{/privacy}","received_events_url":"https://api.github.com/users/kneth/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T13:41:11Z","updated_at":"2018-05-24T13:41:11Z","author_association":"CONTRIBUTOR","body":"It is currently not supported to query list of strings, only list of objects can be queried."}}
{"actor":{"display_login":"kneth"}}