{"action":"opened","number":43,"pull_request":{"url":"https://api.github.com/repos/Vincit/objection-graphql/pulls/43","id":169500741,"html_url":"https://github.com/Vincit/objection-graphql/pull/43","diff_url":"https://github.com/Vincit/objection-graphql/pull/43.diff","patch_url":"https://github.com/Vincit/objection-graphql/pull/43.patch","issue_url":"https://api.github.com/repos/Vincit/objection-graphql/issues/43","number":43,"state":"open","locked":false,"title":"Add `extendWithModelMutations` function to builder","user":{"login":"timhuff","id":609217,"avatar_url":"https://avatars3.githubusercontent.com/u/609217?v=4","gravatar_id":"","url":"https://api.github.com/users/timhuff","html_url":"https://github.com/timhuff","followers_url":"https://api.github.com/users/timhuff/followers","following_url":"https://api.github.com/users/timhuff/following{/other_user}","gists_url":"https://api.github.com/users/timhuff/gists{/gist_id}","starred_url":"https://api.github.com/users/timhuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhuff/subscriptions","organizations_url":"https://api.github.com/users/timhuff/orgs","repos_url":"https://api.github.com/users/timhuff/repos","events_url":"https://api.github.com/users/timhuff/events{/privacy}","received_events_url":"https://api.github.com/users/timhuff/received_events","type":"User","site_admin":false},"body":"Similar to my other pull request, this is just a proof of concept. I'll add tests if we want to move forward. What this enables a user to do is add a `mutations` static object property to their objection model that defines mutations that should be added to the schema. This is currently not compatible with `extendWithMutations`, though it'd be fairly easy to make it so.","created_at":"2018-02-15T22:17:47Z","updated_at":"2018-02-15T22:17:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Vincit/objection-graphql/pulls/43/commits","review_comments_url":"https://api.github.com/repos/Vincit/objection-graphql/pulls/43/comments","review_comment_url":"https://api.github.com/repos/Vincit/objection-graphql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Vincit/objection-graphql/issues/43/comments","statuses_url":"https://api.github.com/repos/Vincit/objection-graphql/statuses/ab726288717f09333b991e4ecacec15162eae838","head":{"label":"timhuff:patch-2","ref":"patch-2","sha":"ab726288717f09333b991e4ecacec15162eae838","user":{"login":"timhuff","id":609217,"avatar_url":"https://avatars3.githubusercontent.com/u/609217?v=4","gravatar_id":"","url":"https://api.github.com/users/timhuff","html_url":"https://github.com/timhuff","followers_url":"https://api.github.com/users/timhuff/followers","following_url":"https://api.github.com/users/timhuff/following{/other_user}","gists_url":"https://api.github.com/users/timhuff/gists{/gist_id}","starred_url":"https://api.github.com/users/timhuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhuff/subscriptions","organizations_url":"https://api.github.com/users/timhuff/orgs","repos_url":"https://api.github.com/users/timhuff/repos","events_url":"https://api.github.com/users/timhuff/events{/privacy}","received_events_url":"https://api.github.com/users/timhuff/received_events","type":"User","site_admin":false},"repo":{"id":121688008,"name":"objection-graphql","full_name":"timhuff/objection-graphql","owner":{"login":"timhuff","id":609217,"avatar_url":"https://avatars3.githubusercontent.com/u/609217?v=4","gravatar_id":"","url":"https://api.github.com/users/timhuff","html_url":"https://github.com/timhuff","followers_url":"https://api.github.com/users/timhuff/followers","following_url":"https://api.github.com/users/timhuff/following{/other_user}","gists_url":"https://api.github.com/users/timhuff/gists{/gist_id}","starred_url":"https://api.github.com/users/timhuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timhuff/subscriptions","organizations_url":"https://api.github.com/users/timhuff/orgs","repos_url":"https://api.github.com/users/timhuff/repos","events_url":"https://api.github.com/users/timhuff/events{/privacy}","received_events_url":"https://api.github.com/users/timhuff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timhuff/objection-graphql","description":"GraphQL schema generator for objection.js","fork":true,"url":"https://api.github.com/repos/timhuff/objection-graphql","forks_url":"https://api.github.com/repos/timhuff/objection-graphql/forks","keys_url":"https://api.github.com/repos/timhuff/objection-graphql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timhuff/objection-graphql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timhuff/objection-graphql/teams","hooks_url":"https://api.github.com/repos/timhuff/objection-graphql/hooks","issue_events_url":"https://api.github.com/repos/timhuff/objection-graphql/issues/events{/number}","events_url":"https://api.github.com/repos/timhuff/objection-graphql/events","assignees_url":"https://api.github.com/repos/timhuff/objection-graphql/assignees{/user}","branches_url":"https://api.github.com/repos/timhuff/objection-graphql/branches{/branch}","tags_url":"https://api.github.com/repos/timhuff/objection-graphql/tags","blobs_url":"https://api.github.com/repos/timhuff/objection-graphql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timhuff/objection-graphql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timhuff/objection-graphql/git/refs{/sha}","trees_url":"https://api.github.com/repos/timhuff/objection-graphql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timhuff/objection-graphql/statuses/{sha}","languages_url":"https://api.github.com/repos/timhuff/objection-graphql/languages","stargazers_url":"https://api.github.com/repos/timhuff/objection-graphql/stargazers","contributors_url":"https://api.github.com/repos/timhuff/objection-graphql/contributors","subscribers_url":"https://api.github.com/repos/timhuff/objection-graphql/subscribers","subscription_url":"https://api.github.com/repos/timhuff/objection-graphql/subscription","commits_url":"https://api.github.com/repos/timhuff/objection-graphql/commits{/sha}","git_commits_url":"https://api.github.com/repos/timhuff/objection-graphql/git/commits{/sha}","comments_url":"https://api.github.com/repos/timhuff/objection-graphql/comments{/number}","issue_comment_url":"https://api.github.com/repos/timhuff/objection-graphql/issues/comments{/number}","contents_url":"https://api.github.com/repos/timhuff/objection-graphql/contents/{+path}","compare_url":"https://api.github.com/repos/timhuff/objection-graphql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timhuff/objection-graphql/merges","archive_url":"https://api.github.com/repos/timhuff/objection-graphql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timhuff/objection-graphql/downloads","issues_url":"https://api.github.com/repos/timhuff/objection-graphql/issues{/number}","pulls_url":"https://api.github.com/repos/timhuff/objection-graphql/pulls{/number}","milestones_url":"https://api.github.com/repos/timhuff/objection-graphql/milestones{/number}","notifications_url":"https://api.github.com/repos/timhuff/objection-graphql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timhuff/objection-graphql/labels{/name}","releases_url":"https://api.github.com/repos/timhuff/objection-graphql/releases{/id}","deployments_url":"https://api.github.com/repos/timhuff/objection-graphql/deployments","created_at":"2018-02-15T22:01:03Z","updated_at":"2018-02-15T22:01:05Z","pushed_at":"2018-02-15T22:15:55Z","git_url":"git://github.com/timhuff/objection-graphql.git","ssh_url":"git@github.com:timhuff/objection-graphql.git","clone_url":"https://github.com/timhuff/objection-graphql.git","svn_url":"https://github.com/timhuff/objection-graphql","homepage":null,"size":112,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Vincit:master","ref":"master","sha":"b6fc5c2b24645808bc1dcd439de18f6f1e050dfd","user":{"login":"Vincit","id":710715,"avatar_url":"https://avatars2.githubusercontent.com/u/710715?v=4","gravatar_id":"","url":"https://api.github.com/users/Vincit","html_url":"https://github.com/Vincit","followers_url":"https://api.github.com/users/Vincit/followers","following_url":"https://api.github.com/users/Vincit/following{/other_user}","gists_url":"https://api.github.com/users/Vincit/gists{/gist_id}","starred_url":"https://api.github.com/users/Vincit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vincit/subscriptions","organizations_url":"https://api.github.com/users/Vincit/orgs","repos_url":"https://api.github.com/users/Vincit/repos","events_url":"https://api.github.com/users/Vincit/events{/privacy}","received_events_url":"https://api.github.com/users/Vincit/received_events","type":"Organization","site_admin":false},"repo":{"id":47632476,"name":"objection-graphql","full_name":"Vincit/objection-graphql","owner":{"login":"Vincit","id":710715,"avatar_url":"https://avatars2.githubusercontent.com/u/710715?v=4","gravatar_id":"","url":"https://api.github.com/users/Vincit","html_url":"https://github.com/Vincit","followers_url":"https://api.github.com/users/Vincit/followers","following_url":"https://api.github.com/users/Vincit/following{/other_user}","gists_url":"https://api.github.com/users/Vincit/gists{/gist_id}","starred_url":"https://api.github.com/users/Vincit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vincit/subscriptions","organizations_url":"https://api.github.com/users/Vincit/orgs","repos_url":"https://api.github.com/users/Vincit/repos","events_url":"https://api.github.com/users/Vincit/events{/privacy}","received_events_url":"https://api.github.com/users/Vincit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Vincit/objection-graphql","description":"GraphQL schema generator for objection.js","fork":false,"url":"https://api.github.com/repos/Vincit/objection-graphql","forks_url":"https://api.github.com/repos/Vincit/objection-graphql/forks","keys_url":"https://api.github.com/repos/Vincit/objection-graphql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Vincit/objection-graphql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Vincit/objection-graphql/teams","hooks_url":"https://api.github.com/repos/Vincit/objection-graphql/hooks","issue_events_url":"https://api.github.com/repos/Vincit/objection-graphql/issues/events{/number}","events_url":"https://api.github.com/repos/Vincit/objection-graphql/events","assignees_url":"https://api.github.com/repos/Vincit/objection-graphql/assignees{/user}","branches_url":"https://api.github.com/repos/Vincit/objection-graphql/branches{/branch}","tags_url":"https://api.github.com/repos/Vincit/objection-graphql/tags","blobs_url":"https://api.github.com/repos/Vincit/objection-graphql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Vincit/objection-graphql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Vincit/objection-graphql/git/refs{/sha}","trees_url":"https://api.github.com/repos/Vincit/objection-graphql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Vincit/objection-graphql/statuses/{sha}","languages_url":"https://api.github.com/repos/Vincit/objection-graphql/languages","stargazers_url":"https://api.github.com/repos/Vincit/objection-graphql/stargazers","contributors_url":"https://api.github.com/repos/Vincit/objection-graphql/contributors","subscribers_url":"https://api.github.com/repos/Vincit/objection-graphql/subscribers","subscription_url":"https://api.github.com/repos/Vincit/objection-graphql/subscription","commits_url":"https://api.github.com/repos/Vincit/objection-graphql/commits{/sha}","git_commits_url":"https://api.github.com/repos/Vincit/objection-graphql/git/commits{/sha}","comments_url":"https://api.github.com/repos/Vincit/objection-graphql/comments{/number}","issue_comment_url":"https://api.github.com/repos/Vincit/objection-graphql/issues/comments{/number}","contents_url":"https://api.github.com/repos/Vincit/objection-graphql/contents/{+path}","compare_url":"https://api.github.com/repos/Vincit/objection-graphql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Vincit/objection-graphql/merges","archive_url":"https://api.github.com/repos/Vincit/objection-graphql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Vincit/objection-graphql/downloads","issues_url":"https://api.github.com/repos/Vincit/objection-graphql/issues{/number}","pulls_url":"https://api.github.com/repos/Vincit/objection-graphql/pulls{/number}","milestones_url":"https://api.github.com/repos/Vincit/objection-graphql/milestones{/number}","notifications_url":"https://api.github.com/repos/Vincit/objection-graphql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Vincit/objection-graphql/labels{/name}","releases_url":"https://api.github.com/repos/Vincit/objection-graphql/releases{/id}","deployments_url":"https://api.github.com/repos/Vincit/objection-graphql/deployments","created_at":"2015-12-08T15:58:42Z","updated_at":"2018-02-14T15:47:04Z","pushed_at":"2018-02-15T22:14:08Z","git_url":"git://github.com/Vincit/objection-graphql.git","ssh_url":"git@github.com:Vincit/objection-graphql.git","clone_url":"https://github.com/Vincit/objection-graphql.git","svn_url":"https://github.com/Vincit/objection-graphql","homepage":null,"size":112,"stargazers_count":95,"watchers_count":95,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":14,"open_issues":11,"watchers":95,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Vincit/objection-graphql/pulls/43"},"html":{"href":"https://github.com/Vincit/objection-graphql/pull/43"},"issue":{"href":"https://api.github.com/repos/Vincit/objection-graphql/issues/43"},"comments":{"href":"https://api.github.com/repos/Vincit/objection-graphql/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/Vincit/objection-graphql/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/Vincit/objection-graphql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Vincit/objection-graphql/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/Vincit/objection-graphql/statuses/ab726288717f09333b991e4ecacec15162eae838"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":19,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"timhuff"}}