{"action":"opened","number":3278,"pull_request":{"url":"https://api.github.com/repos/emberjs/data/pulls/3278","id":37288100,"html_url":"https://github.com/emberjs/data/pull/3278","diff_url":"https://github.com/emberjs/data/pull/3278.diff","patch_url":"https://github.com/emberjs/data/pull/3278.patch","issue_url":"https://api.github.com/repos/emberjs/data/issues/3278","number":3278,"state":"open","locked":false,"title":"Add a way to pass options to an adapter ","user":{"login":"bmac","id":54056,"avatar_url":"https://avatars.githubusercontent.com/u/54056?v=3","gravatar_id":"","url":"https://api.github.com/users/bmac","html_url":"https://github.com/bmac","followers_url":"https://api.github.com/users/bmac/followers","following_url":"https://api.github.com/users/bmac/following{/other_user}","gists_url":"https://api.github.com/users/bmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmac/subscriptions","organizations_url":"https://api.github.com/users/bmac/orgs","repos_url":"https://api.github.com/users/bmac/repos","events_url":"https://api.github.com/users/bmac/events{/privacy}","received_events_url":"https://api.github.com/users/bmac/received_events","type":"User","site_admin":false},"body":"`DS.Store#findAll`, `DS.Store#findRecord`, `DS.Store#query`, `DS.Model#save` and `DS.Model#destroyRecord` now all take an options parameter. If this `options` parameter has a value on the `adapeterOptions` key it will be passed to the adapter method used to retrieve or update from the backend.\r\n\r\nThis pr currently include the code from #3264 because that is a prerequisites for this work. I will rebase this pr after #3264 is merged.\r\n\r\nThis pr is built on top of the work @knownasilya started in pr https://github.com/emberjs/data/pull/2621","created_at":"2015-06-09T19:09:42Z","updated_at":"2015-06-09T19:09:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/emberjs/data/pulls/3278/commits","review_comments_url":"https://api.github.com/repos/emberjs/data/pulls/3278/comments","review_comment_url":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3278/comments","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/6c5e20872279f11dd9a67da982f974324fa2efb4","head":{"label":"bmac:adapter-options","ref":"adapter-options","sha":"6c5e20872279f11dd9a67da982f974324fa2efb4","user":{"login":"bmac","id":54056,"avatar_url":"https://avatars.githubusercontent.com/u/54056?v=3","gravatar_id":"","url":"https://api.github.com/users/bmac","html_url":"https://github.com/bmac","followers_url":"https://api.github.com/users/bmac/followers","following_url":"https://api.github.com/users/bmac/following{/other_user}","gists_url":"https://api.github.com/users/bmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmac/subscriptions","organizations_url":"https://api.github.com/users/bmac/orgs","repos_url":"https://api.github.com/users/bmac/repos","events_url":"https://api.github.com/users/bmac/events{/privacy}","received_events_url":"https://api.github.com/users/bmac/received_events","type":"User","site_admin":false},"repo":{"id":14693289,"name":"data","full_name":"bmac/data","owner":{"login":"bmac","id":54056,"avatar_url":"https://avatars.githubusercontent.com/u/54056?v=3","gravatar_id":"","url":"https://api.github.com/users/bmac","html_url":"https://github.com/bmac","followers_url":"https://api.github.com/users/bmac/followers","following_url":"https://api.github.com/users/bmac/following{/other_user}","gists_url":"https://api.github.com/users/bmac/gists{/gist_id}","starred_url":"https://api.github.com/users/bmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmac/subscriptions","organizations_url":"https://api.github.com/users/bmac/orgs","repos_url":"https://api.github.com/users/bmac/repos","events_url":"https://api.github.com/users/bmac/events{/privacy}","received_events_url":"https://api.github.com/users/bmac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bmac/data","description":"A data persistence library for Ember.js.","fork":true,"url":"https://api.github.com/repos/bmac/data","forks_url":"https://api.github.com/repos/bmac/data/forks","keys_url":"https://api.github.com/repos/bmac/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bmac/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bmac/data/teams","hooks_url":"https://api.github.com/repos/bmac/data/hooks","issue_events_url":"https://api.github.com/repos/bmac/data/issues/events{/number}","events_url":"https://api.github.com/repos/bmac/data/events","assignees_url":"https://api.github.com/repos/bmac/data/assignees{/user}","branches_url":"https://api.github.com/repos/bmac/data/branches{/branch}","tags_url":"https://api.github.com/repos/bmac/data/tags","blobs_url":"https://api.github.com/repos/bmac/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bmac/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bmac/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/bmac/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bmac/data/statuses/{sha}","languages_url":"https://api.github.com/repos/bmac/data/languages","stargazers_url":"https://api.github.com/repos/bmac/data/stargazers","contributors_url":"https://api.github.com/repos/bmac/data/contributors","subscribers_url":"https://api.github.com/repos/bmac/data/subscribers","subscription_url":"https://api.github.com/repos/bmac/data/subscription","commits_url":"https://api.github.com/repos/bmac/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/bmac/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/bmac/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/bmac/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/bmac/data/contents/{+path}","compare_url":"https://api.github.com/repos/bmac/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bmac/data/merges","archive_url":"https://api.github.com/repos/bmac/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bmac/data/downloads","issues_url":"https://api.github.com/repos/bmac/data/issues{/number}","pulls_url":"https://api.github.com/repos/bmac/data/pulls{/number}","milestones_url":"https://api.github.com/repos/bmac/data/milestones{/number}","notifications_url":"https://api.github.com/repos/bmac/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bmac/data/labels{/name}","releases_url":"https://api.github.com/repos/bmac/data/releases{/id}","created_at":"2013-11-25T17:46:36Z","updated_at":"2015-03-24T22:52:08Z","pushed_at":"2015-06-09T19:00:30Z","git_url":"git://github.com/bmac/data.git","ssh_url":"git@github.com:bmac/data.git","clone_url":"https://github.com/bmac/data.git","svn_url":"https://github.com/bmac/data","homepage":"","size":9582,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"emberjs:master","ref":"master","sha":"60c01a3f305b2b580c03b7f32712a43a2de30440","user":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3016562,"name":"data","full_name":"emberjs/data","owner":{"login":"emberjs","id":1253363,"avatar_url":"https://avatars.githubusercontent.com/u/1253363?v=3","gravatar_id":"","url":"https://api.github.com/users/emberjs","html_url":"https://github.com/emberjs","followers_url":"https://api.github.com/users/emberjs/followers","following_url":"https://api.github.com/users/emberjs/following{/other_user}","gists_url":"https://api.github.com/users/emberjs/gists{/gist_id}","starred_url":"https://api.github.com/users/emberjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emberjs/subscriptions","organizations_url":"https://api.github.com/users/emberjs/orgs","repos_url":"https://api.github.com/users/emberjs/repos","events_url":"https://api.github.com/users/emberjs/events{/privacy}","received_events_url":"https://api.github.com/users/emberjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/emberjs/data","description":"A data persistence library for Ember.js.","fork":false,"url":"https://api.github.com/repos/emberjs/data","forks_url":"https://api.github.com/repos/emberjs/data/forks","keys_url":"https://api.github.com/repos/emberjs/data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/emberjs/data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/emberjs/data/teams","hooks_url":"https://api.github.com/repos/emberjs/data/hooks","issue_events_url":"https://api.github.com/repos/emberjs/data/issues/events{/number}","events_url":"https://api.github.com/repos/emberjs/data/events","assignees_url":"https://api.github.com/repos/emberjs/data/assignees{/user}","branches_url":"https://api.github.com/repos/emberjs/data/branches{/branch}","tags_url":"https://api.github.com/repos/emberjs/data/tags","blobs_url":"https://api.github.com/repos/emberjs/data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/emberjs/data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/emberjs/data/git/refs{/sha}","trees_url":"https://api.github.com/repos/emberjs/data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/emberjs/data/statuses/{sha}","languages_url":"https://api.github.com/repos/emberjs/data/languages","stargazers_url":"https://api.github.com/repos/emberjs/data/stargazers","contributors_url":"https://api.github.com/repos/emberjs/data/contributors","subscribers_url":"https://api.github.com/repos/emberjs/data/subscribers","subscription_url":"https://api.github.com/repos/emberjs/data/subscription","commits_url":"https://api.github.com/repos/emberjs/data/commits{/sha}","git_commits_url":"https://api.github.com/repos/emberjs/data/git/commits{/sha}","comments_url":"https://api.github.com/repos/emberjs/data/comments{/number}","issue_comment_url":"https://api.github.com/repos/emberjs/data/issues/comments{/number}","contents_url":"https://api.github.com/repos/emberjs/data/contents/{+path}","compare_url":"https://api.github.com/repos/emberjs/data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/emberjs/data/merges","archive_url":"https://api.github.com/repos/emberjs/data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/emberjs/data/downloads","issues_url":"https://api.github.com/repos/emberjs/data/issues{/number}","pulls_url":"https://api.github.com/repos/emberjs/data/pulls{/number}","milestones_url":"https://api.github.com/repos/emberjs/data/milestones{/number}","notifications_url":"https://api.github.com/repos/emberjs/data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/emberjs/data/labels{/name}","releases_url":"https://api.github.com/repos/emberjs/data/releases{/id}","created_at":"2011-12-20T01:50:40Z","updated_at":"2015-06-09T03:23:12Z","pushed_at":"2015-06-09T17:48:36Z","git_url":"git://github.com/emberjs/data.git","ssh_url":"git@github.com:emberjs/data.git","clone_url":"https://github.com/emberjs/data.git","svn_url":"https://github.com/emberjs/data","homepage":"","size":27668,"stargazers_count":2385,"watchers_count":2385,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":923,"mirror_url":null,"open_issues_count":213,"forks":923,"open_issues":213,"watchers":2385,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/emberjs/data/pulls/3278"},"html":{"href":"https://github.com/emberjs/data/pull/3278"},"issue":{"href":"https://api.github.com/repos/emberjs/data/issues/3278"},"comments":{"href":"https://api.github.com/repos/emberjs/data/issues/3278/comments"},"review_comments":{"href":"https://api.github.com/repos/emberjs/data/pulls/3278/comments"},"review_comment":{"href":"https://api.github.com/repos/emberjs/data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/emberjs/data/pulls/3278/commits"},"statuses":{"href":"https://api.github.com/repos/emberjs/data/statuses/6c5e20872279f11dd9a67da982f974324fa2efb4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":288,"deletions":66,"changed_files":8}}