{"action":"created","issue":{"url":"https://api.github.com/repos/KrakenDev/PrediKit/issues/4","repository_url":"https://api.github.com/repos/KrakenDev/PrediKit","labels_url":"https://api.github.com/repos/KrakenDev/PrediKit/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/KrakenDev/PrediKit/issues/4/comments","events_url":"https://api.github.com/repos/KrakenDev/PrediKit/issues/4/events","html_url":"https://github.com/KrakenDev/PrediKit/issues/4","id":156321302,"number":4,"title":"Builder needs method for querying object properties","user":{"login":"djbe","id":641356,"avatar_url":"https://avatars.githubusercontent.com/u/641356?v=3","gravatar_id":"","url":"https://api.github.com/users/djbe","html_url":"https://github.com/djbe","followers_url":"https://api.github.com/users/djbe/followers","following_url":"https://api.github.com/users/djbe/following{/other_user}","gists_url":"https://api.github.com/users/djbe/gists{/gist_id}","starred_url":"https://api.github.com/users/djbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djbe/subscriptions","organizations_url":"https://api.github.com/users/djbe/orgs","repos_url":"https://api.github.com/users/djbe/repos","events_url":"https://api.github.com/users/djbe/events{/privacy}","received_events_url":"https://api.github.com/users/djbe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-05-23T17:24:18Z","updated_at":"2016-05-28T06:18:47Z","closed_at":"2016-05-28T02:41:57Z","body":"Case where we want to query an object with related objects, such as:\r\n```Swift\r\nclass Captain: NSObject {\r\n    var name: String\r\n}\r\nclass Ship: NSObject {\r\n    var captain: Captain\r\n}\r\nNSPredicate(format: \"captain == %@\", someCaptain)\r\nNSPredicate(format: \"captain.name == 'Chief Supreme'\")\r\n```\r\n\r\nThere currently is no method to match an object property (example 1), or to match a related object's property (example 2).\r\n\r\nAre there currently any plans for this?"},"comment":{"url":"https://api.github.com/repos/KrakenDev/PrediKit/issues/comments/222292770","html_url":"https://github.com/KrakenDev/PrediKit/issues/4#issuecomment-222292770","issue_url":"https://api.github.com/repos/KrakenDev/PrediKit/issues/4","id":222292770,"user":{"login":"hectormatos2011","id":2718104,"avatar_url":"https://avatars.githubusercontent.com/u/2718104?v=3","gravatar_id":"","url":"https://api.github.com/users/hectormatos2011","html_url":"https://github.com/hectormatos2011","followers_url":"https://api.github.com/users/hectormatos2011/followers","following_url":"https://api.github.com/users/hectormatos2011/following{/other_user}","gists_url":"https://api.github.com/users/hectormatos2011/gists{/gist_id}","starred_url":"https://api.github.com/users/hectormatos2011/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hectormatos2011/subscriptions","organizations_url":"https://api.github.com/users/hectormatos2011/orgs","repos_url":"https://api.github.com/users/hectormatos2011/repos","events_url":"https://api.github.com/users/hectormatos2011/events{/privacy}","received_events_url":"https://api.github.com/users/hectormatos2011/received_events","type":"User","site_admin":false},"created_at":"2016-05-28T06:18:47Z","updated_at":"2016-05-28T06:18:47Z","body":"Sounds great! Feel free to continue creating issues! And let me know how it goes!"}}
{"actor":{"display_login":"hectormatos2011"}}