{"action":"created","issue":{"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/662","repository_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe","labels_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/662/labels{/name}","comments_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/662/comments","events_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/662/events","html_url":"https://github.com/HaxeFoundation/intellij-haxe/issues/662","id":253961504,"number":662,"title":"MongoDB query error","user":{"login":"varadig","id":6317148,"avatar_url":"https://avatars2.githubusercontent.com/u/6317148?v=4","gravatar_id":"","url":"https://api.github.com/users/varadig","html_url":"https://github.com/varadig","followers_url":"https://api.github.com/users/varadig/followers","following_url":"https://api.github.com/users/varadig/following{/other_user}","gists_url":"https://api.github.com/users/varadig/gists{/gist_id}","starred_url":"https://api.github.com/users/varadig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varadig/subscriptions","organizations_url":"https://api.github.com/users/varadig/orgs","repos_url":"https://api.github.com/users/varadig/repos","events_url":"https://api.github.com/users/varadig/events{/privacy}","received_events_url":"https://api.github.com/users/varadig/received_events","type":"User","site_admin":false},"labels":[{"id":78934482,"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/labels/bug","name":"bug","color":"fc2929","default":true},{"id":498445650,"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/labels/Needs%20Triage","name":"Needs Triage","color":"5319e7","default":false},{"id":202525183,"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/labels/Priority%203","name":"Priority 3","color":"ffbb00","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2017-08-30T11:10:36Z","updated_at":"2017-11-23T06:13:47Z","closed_at":null,"author_association":"NONE","body":"When I wanted to create query like this:\r\n\r\n`var condition:Dynamic = {\"_id\" : update.foundationID,\"events\" : {\"$elemMatch\":update.eventID}};\r\n`\r\n\r\nbut the editos say to me:\r\n![screen shot 2017-08-30 at 13 09 35](https://user-images.githubusercontent.com/6317148/29869731-7e731918-8d84-11e7-871c-3d29758c553b.png)\r\n\r\nIf I use in this way, the editor dont show me error:\r\n```\r\nvar condition:Dynamic = {_id : update.foundationID, events : {}};\r\nReflect.setField(condition.events, \"$elemMatch\", {_id:update.eventID});\r\n\r\n```\r\nBut in this way, I cant create complex query with operators\r\n\r\nIf I compile with haxe in cli, everything is oke.\r\n"},"comment":{"url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/comments/346538208","html_url":"https://github.com/HaxeFoundation/intellij-haxe/issues/662#issuecomment-346538208","issue_url":"https://api.github.com/repos/HaxeFoundation/intellij-haxe/issues/662","id":346538208,"user":{"login":"EricBishton","id":12093217,"avatar_url":"https://avatars2.githubusercontent.com/u/12093217?v=4","gravatar_id":"","url":"https://api.github.com/users/EricBishton","html_url":"https://github.com/EricBishton","followers_url":"https://api.github.com/users/EricBishton/followers","following_url":"https://api.github.com/users/EricBishton/following{/other_user}","gists_url":"https://api.github.com/users/EricBishton/gists{/gist_id}","starred_url":"https://api.github.com/users/EricBishton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EricBishton/subscriptions","organizations_url":"https://api.github.com/users/EricBishton/orgs","repos_url":"https://api.github.com/users/EricBishton/repos","events_url":"https://api.github.com/users/EricBishton/events{/privacy}","received_events_url":"https://api.github.com/users/EricBishton/received_events","type":"User","site_admin":false},"created_at":"2017-11-23T06:13:47Z","updated_at":"2017-11-23T06:13:47Z","author_association":"CONTRIBUTOR","body":"I've fixed it on my personal work repo.  I'll make a PR once it builds and tests cleanly."}}
{"actor":{"display_login":"EricBishton"}}