{"action":"opened","number":40,"pull_request":{"url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/40","id":43143722,"html_url":"https://github.com/pixelhandler/ember-jsonapi-resources/pull/40","diff_url":"https://github.com/pixelhandler/ember-jsonapi-resources/pull/40.diff","patch_url":"https://github.com/pixelhandler/ember-jsonapi-resources/pull/40.patch","issue_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/40","number":40,"state":"open","locked":false,"title":"Add options argument for findOne/findMany Resource helpers","user":{"login":"pixelhandler","id":17178,"avatar_url":"https://avatars.githubusercontent.com/u/17178?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelhandler","html_url":"https://github.com/pixelhandler","followers_url":"https://api.github.com/users/pixelhandler/followers","following_url":"https://api.github.com/users/pixelhandler/following{/other_user}","gists_url":"https://api.github.com/users/pixelhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelhandler/subscriptions","organizations_url":"https://api.github.com/users/pixelhandler/orgs","repos_url":"https://api.github.com/users/pixelhandler/repos","events_url":"https://api.github.com/users/pixelhandler/events{/privacy}","received_events_url":"https://api.github.com/users/pixelhandler/received_events","type":"User","site_admin":false},"body":"- Relationship helpers may use a String argument for the relation name,\r\n  as found in the relationship object of the JSON payload\r\n- Helpers may instead use an Object argument with properties for relation\r\n  and type (type is different service) to use for fetching resource relations\r\n\r\n[Fixes #36]","created_at":"2015-08-24T06:34:11Z","updated_at":"2015-08-24T06:34:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/40/commits","review_comments_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/40/comments","review_comment_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/40/comments","statuses_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/statuses/b352362bb9cb0ada4c10f77ca00a902064d0b2a9","head":{"label":"pixelhandler:optional-type-for-relation","ref":"optional-type-for-relation","sha":"b352362bb9cb0ada4c10f77ca00a902064d0b2a9","user":{"login":"pixelhandler","id":17178,"avatar_url":"https://avatars.githubusercontent.com/u/17178?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelhandler","html_url":"https://github.com/pixelhandler","followers_url":"https://api.github.com/users/pixelhandler/followers","following_url":"https://api.github.com/users/pixelhandler/following{/other_user}","gists_url":"https://api.github.com/users/pixelhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelhandler/subscriptions","organizations_url":"https://api.github.com/users/pixelhandler/orgs","repos_url":"https://api.github.com/users/pixelhandler/repos","events_url":"https://api.github.com/users/pixelhandler/events{/privacy}","received_events_url":"https://api.github.com/users/pixelhandler/received_events","type":"User","site_admin":false},"repo":{"id":36627295,"name":"ember-jsonapi-resources","full_name":"pixelhandler/ember-jsonapi-resources","owner":{"login":"pixelhandler","id":17178,"avatar_url":"https://avatars.githubusercontent.com/u/17178?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelhandler","html_url":"https://github.com/pixelhandler","followers_url":"https://api.github.com/users/pixelhandler/followers","following_url":"https://api.github.com/users/pixelhandler/following{/other_user}","gists_url":"https://api.github.com/users/pixelhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelhandler/subscriptions","organizations_url":"https://api.github.com/users/pixelhandler/orgs","repos_url":"https://api.github.com/users/pixelhandler/repos","events_url":"https://api.github.com/users/pixelhandler/events{/privacy}","received_events_url":"https://api.github.com/users/pixelhandler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pixelhandler/ember-jsonapi-resources","description":"Lightweight persistence for an Ember CLI app following the JSON API 1.0 spec","fork":false,"url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources","forks_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/forks","keys_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/teams","hooks_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/hooks","issue_events_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/events{/number}","events_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/events","assignees_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/assignees{/user}","branches_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/branches{/branch}","tags_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/tags","blobs_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/statuses/{sha}","languages_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/languages","stargazers_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/stargazers","contributors_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/contributors","subscribers_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/subscribers","subscription_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/subscription","commits_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/contents/{+path}","compare_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/merges","archive_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/downloads","issues_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues{/number}","pulls_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls{/number}","milestones_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/milestones{/number}","notifications_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/labels{/name}","releases_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/releases{/id}","created_at":"2015-05-31T23:43:54Z","updated_at":"2015-08-15T23:26:56Z","pushed_at":"2015-08-24T06:29:57Z","git_url":"git://github.com/pixelhandler/ember-jsonapi-resources.git","ssh_url":"git@github.com:pixelhandler/ember-jsonapi-resources.git","clone_url":"https://github.com/pixelhandler/ember-jsonapi-resources.git","svn_url":"https://github.com/pixelhandler/ember-jsonapi-resources","homepage":null,"size":942,"stargazers_count":68,"watchers_count":68,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":68,"default_branch":"master"}},"base":{"label":"pixelhandler:master","ref":"master","sha":"06601bc9b17998c352ca33cc4b5570aa4f238be7","user":{"login":"pixelhandler","id":17178,"avatar_url":"https://avatars.githubusercontent.com/u/17178?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelhandler","html_url":"https://github.com/pixelhandler","followers_url":"https://api.github.com/users/pixelhandler/followers","following_url":"https://api.github.com/users/pixelhandler/following{/other_user}","gists_url":"https://api.github.com/users/pixelhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelhandler/subscriptions","organizations_url":"https://api.github.com/users/pixelhandler/orgs","repos_url":"https://api.github.com/users/pixelhandler/repos","events_url":"https://api.github.com/users/pixelhandler/events{/privacy}","received_events_url":"https://api.github.com/users/pixelhandler/received_events","type":"User","site_admin":false},"repo":{"id":36627295,"name":"ember-jsonapi-resources","full_name":"pixelhandler/ember-jsonapi-resources","owner":{"login":"pixelhandler","id":17178,"avatar_url":"https://avatars.githubusercontent.com/u/17178?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelhandler","html_url":"https://github.com/pixelhandler","followers_url":"https://api.github.com/users/pixelhandler/followers","following_url":"https://api.github.com/users/pixelhandler/following{/other_user}","gists_url":"https://api.github.com/users/pixelhandler/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelhandler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelhandler/subscriptions","organizations_url":"https://api.github.com/users/pixelhandler/orgs","repos_url":"https://api.github.com/users/pixelhandler/repos","events_url":"https://api.github.com/users/pixelhandler/events{/privacy}","received_events_url":"https://api.github.com/users/pixelhandler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pixelhandler/ember-jsonapi-resources","description":"Lightweight persistence for an Ember CLI app following the JSON API 1.0 spec","fork":false,"url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources","forks_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/forks","keys_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/teams","hooks_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/hooks","issue_events_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/events{/number}","events_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/events","assignees_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/assignees{/user}","branches_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/branches{/branch}","tags_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/tags","blobs_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/statuses/{sha}","languages_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/languages","stargazers_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/stargazers","contributors_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/contributors","subscribers_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/subscribers","subscription_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/subscription","commits_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/contents/{+path}","compare_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/merges","archive_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/downloads","issues_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues{/number}","pulls_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls{/number}","milestones_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/milestones{/number}","notifications_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/labels{/name}","releases_url":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/releases{/id}","created_at":"2015-05-31T23:43:54Z","updated_at":"2015-08-15T23:26:56Z","pushed_at":"2015-08-24T06:29:57Z","git_url":"git://github.com/pixelhandler/ember-jsonapi-resources.git","ssh_url":"git@github.com:pixelhandler/ember-jsonapi-resources.git","clone_url":"https://github.com/pixelhandler/ember-jsonapi-resources.git","svn_url":"https://github.com/pixelhandler/ember-jsonapi-resources","homepage":null,"size":942,"stargazers_count":68,"watchers_count":68,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":68,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/40"},"html":{"href":"https://github.com/pixelhandler/ember-jsonapi-resources/pull/40"},"issue":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/40"},"comments":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/pixelhandler/ember-jsonapi-resources/statuses/b352362bb9cb0ada4c10f77ca00a902064d0b2a9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":104,"deletions":12,"changed_files":4}}