{"action":"closed","number":90,"pull_request":{"url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/90","id":241797835,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxNzk3ODM1","html_url":"https://github.com/Jaguar-dart/jaguar_orm/pull/90","diff_url":"https://github.com/Jaguar-dart/jaguar_orm/pull/90.diff","patch_url":"https://github.com/Jaguar-dart/jaguar_orm/pull/90.patch","issue_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues/90","number":90,"state":"closed","locked":false,"title":"Fix of issue #89 in https://github.com/Jaguar-dart/jaguar_orm/issues/89:","user":{"login":"MartinHlavna","id":21197991,"node_id":"MDQ6VXNlcjIxMTk3OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/21197991?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinHlavna","html_url":"https://github.com/MartinHlavna","followers_url":"https://api.github.com/users/MartinHlavna/followers","following_url":"https://api.github.com/users/MartinHlavna/following{/other_user}","gists_url":"https://api.github.com/users/MartinHlavna/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHlavna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHlavna/subscriptions","organizations_url":"https://api.github.com/users/MartinHlavna/orgs","repos_url":"https://api.github.com/users/MartinHlavna/repos","events_url":"https://api.github.com/users/MartinHlavna/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHlavna/received_events","type":"User","site_admin":false},"body":"In case of ManyToMany relation, writer.dart have written cascade functionality for insert and upsert statements. However it was generating code that have used incorrect variable.\r\n\r\nmodel, which is input parameter don't have to have id, in case if it is insert of new entity with autogenerated PrimaryKey.","created_at":"2019-01-02T17:03:00Z","updated_at":"2019-01-02T17:54:36Z","closed_at":"2019-01-02T17:54:36Z","merged_at":"2019-01-02T17:54:36Z","merge_commit_sha":"ca1520d37b906aa18af8053493068632d7e0b370","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/90/commits","review_comments_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/90/comments","review_comment_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues/90/comments","statuses_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/statuses/5a90bfcf7fd41dab34de05b48db8ef73e694bb12","head":{"label":"MartinHlavna:master","ref":"master","sha":"5a90bfcf7fd41dab34de05b48db8ef73e694bb12","user":{"login":"MartinHlavna","id":21197991,"node_id":"MDQ6VXNlcjIxMTk3OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/21197991?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinHlavna","html_url":"https://github.com/MartinHlavna","followers_url":"https://api.github.com/users/MartinHlavna/followers","following_url":"https://api.github.com/users/MartinHlavna/following{/other_user}","gists_url":"https://api.github.com/users/MartinHlavna/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHlavna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHlavna/subscriptions","organizations_url":"https://api.github.com/users/MartinHlavna/orgs","repos_url":"https://api.github.com/users/MartinHlavna/repos","events_url":"https://api.github.com/users/MartinHlavna/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHlavna/received_events","type":"User","site_admin":false},"repo":{"id":163866351,"node_id":"MDEwOlJlcG9zaXRvcnkxNjM4NjYzNTE=","name":"jaguar_orm","full_name":"MartinHlavna/jaguar_orm","private":false,"owner":{"login":"MartinHlavna","id":21197991,"node_id":"MDQ6VXNlcjIxMTk3OTkx","avatar_url":"https://avatars0.githubusercontent.com/u/21197991?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinHlavna","html_url":"https://github.com/MartinHlavna","followers_url":"https://api.github.com/users/MartinHlavna/followers","following_url":"https://api.github.com/users/MartinHlavna/following{/other_user}","gists_url":"https://api.github.com/users/MartinHlavna/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinHlavna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinHlavna/subscriptions","organizations_url":"https://api.github.com/users/MartinHlavna/orgs","repos_url":"https://api.github.com/users/MartinHlavna/repos","events_url":"https://api.github.com/users/MartinHlavna/events{/privacy}","received_events_url":"https://api.github.com/users/MartinHlavna/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MartinHlavna/jaguar_orm","description":"Source-generated ORM with relations (one-to-one, one-to-many, many-to-many), preloading, cascading, polymorphic relations, etc","fork":true,"url":"https://api.github.com/repos/MartinHlavna/jaguar_orm","forks_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/forks","keys_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/teams","hooks_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/hooks","issue_events_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/issues/events{/number}","events_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/events","assignees_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/assignees{/user}","branches_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/branches{/branch}","tags_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/tags","blobs_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/git/refs{/sha}","trees_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/statuses/{sha}","languages_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/languages","stargazers_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/stargazers","contributors_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/contributors","subscribers_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/subscribers","subscription_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/subscription","commits_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/commits{/sha}","git_commits_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/git/commits{/sha}","comments_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/comments{/number}","issue_comment_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/issues/comments{/number}","contents_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/contents/{+path}","compare_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/merges","archive_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/downloads","issues_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/issues{/number}","pulls_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/pulls{/number}","milestones_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/milestones{/number}","notifications_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/labels{/name}","releases_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/releases{/id}","deployments_url":"https://api.github.com/repos/MartinHlavna/jaguar_orm/deployments","created_at":"2019-01-02T16:47:25Z","updated_at":"2019-01-02T17:01:43Z","pushed_at":"2019-01-02T17:01:41Z","git_url":"git://github.com/MartinHlavna/jaguar_orm.git","ssh_url":"git@github.com:MartinHlavna/jaguar_orm.git","clone_url":"https://github.com/MartinHlavna/jaguar_orm.git","svn_url":"https://github.com/MartinHlavna/jaguar_orm","homepage":"https://jaguar-dart.github.io","size":1310,"stargazers_count":0,"watchers_count":0,"language":"Dart","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":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Jaguar-dart:master","ref":"master","sha":"3120de86f404aa83705862a2532a8f178a1a0900","user":{"login":"Jaguar-dart","id":22350842,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMzUwODQy","avatar_url":"https://avatars3.githubusercontent.com/u/22350842?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaguar-dart","html_url":"https://github.com/Jaguar-dart","followers_url":"https://api.github.com/users/Jaguar-dart/followers","following_url":"https://api.github.com/users/Jaguar-dart/following{/other_user}","gists_url":"https://api.github.com/users/Jaguar-dart/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaguar-dart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaguar-dart/subscriptions","organizations_url":"https://api.github.com/users/Jaguar-dart/orgs","repos_url":"https://api.github.com/users/Jaguar-dart/repos","events_url":"https://api.github.com/users/Jaguar-dart/events{/privacy}","received_events_url":"https://api.github.com/users/Jaguar-dart/received_events","type":"Organization","site_admin":false},"repo":{"id":77248619,"node_id":"MDEwOlJlcG9zaXRvcnk3NzI0ODYxOQ==","name":"jaguar_orm","full_name":"Jaguar-dart/jaguar_orm","private":false,"owner":{"login":"Jaguar-dart","id":22350842,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMzUwODQy","avatar_url":"https://avatars3.githubusercontent.com/u/22350842?v=4","gravatar_id":"","url":"https://api.github.com/users/Jaguar-dart","html_url":"https://github.com/Jaguar-dart","followers_url":"https://api.github.com/users/Jaguar-dart/followers","following_url":"https://api.github.com/users/Jaguar-dart/following{/other_user}","gists_url":"https://api.github.com/users/Jaguar-dart/gists{/gist_id}","starred_url":"https://api.github.com/users/Jaguar-dart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jaguar-dart/subscriptions","organizations_url":"https://api.github.com/users/Jaguar-dart/orgs","repos_url":"https://api.github.com/users/Jaguar-dart/repos","events_url":"https://api.github.com/users/Jaguar-dart/events{/privacy}","received_events_url":"https://api.github.com/users/Jaguar-dart/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Jaguar-dart/jaguar_orm","description":"Source-generated ORM with relations (one-to-one, one-to-many, many-to-many), preloading, cascading, polymorphic relations, etc","fork":false,"url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm","forks_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/forks","keys_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/teams","hooks_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/hooks","issue_events_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues/events{/number}","events_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/events","assignees_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/assignees{/user}","branches_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/branches{/branch}","tags_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/tags","blobs_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/statuses/{sha}","languages_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/languages","stargazers_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/stargazers","contributors_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/contributors","subscribers_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/subscribers","subscription_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/subscription","commits_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/contents/{+path}","compare_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/merges","archive_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/downloads","issues_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues{/number}","pulls_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls{/number}","milestones_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/milestones{/number}","notifications_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/labels{/name}","releases_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/releases{/id}","deployments_url":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/deployments","created_at":"2016-12-23T20:17:21Z","updated_at":"2019-01-02T17:26:26Z","pushed_at":"2019-01-02T17:54:36Z","git_url":"git://github.com/Jaguar-dart/jaguar_orm.git","ssh_url":"git@github.com:Jaguar-dart/jaguar_orm.git","clone_url":"https://github.com/Jaguar-dart/jaguar_orm.git","svn_url":"https://github.com/Jaguar-dart/jaguar_orm","homepage":"https://jaguar-dart.github.io","size":1310,"stargazers_count":40,"watchers_count":40,"language":"Dart","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"forks":7,"open_issues":18,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/90"},"html":{"href":"https://github.com/Jaguar-dart/jaguar_orm/pull/90"},"issue":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues/90"},"comments":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/Jaguar-dart/jaguar_orm/statuses/5a90bfcf7fd41dab34de05b48db8ef73e694bb12"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"tejainece","id":2513673,"node_id":"MDQ6VXNlcjI1MTM2NzM=","avatar_url":"https://avatars0.githubusercontent.com/u/2513673?v=4","gravatar_id":"","url":"https://api.github.com/users/tejainece","html_url":"https://github.com/tejainece","followers_url":"https://api.github.com/users/tejainece/followers","following_url":"https://api.github.com/users/tejainece/following{/other_user}","gists_url":"https://api.github.com/users/tejainece/gists{/gist_id}","starred_url":"https://api.github.com/users/tejainece/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tejainece/subscriptions","organizations_url":"https://api.github.com/users/tejainece/orgs","repos_url":"https://api.github.com/users/tejainece/repos","events_url":"https://api.github.com/users/tejainece/events{/privacy}","received_events_url":"https://api.github.com/users/tejainece/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":4,"changed_files":1}}
{"actor":{"display_login":"tejainece"}}