{"action":"created","issue":{"url":"https://api.github.com/repos/Vincit/objection-db-errors/issues/4","repository_url":"https://api.github.com/repos/Vincit/objection-db-errors","labels_url":"https://api.github.com/repos/Vincit/objection-db-errors/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Vincit/objection-db-errors/issues/4/comments","events_url":"https://api.github.com/repos/Vincit/objection-db-errors/issues/4/events","html_url":"https://github.com/Vincit/objection-db-errors/issues/4","id":358935074,"node_id":"MDU6SXNzdWUzNTg5MzUwNzQ=","number":4,"title":"`upsertGraph` and `insertGraph` errors.","user":{"login":"ozum","id":1497060,"node_id":"MDQ6VXNlcjE0OTcwNjA=","avatar_url":"https://avatars2.githubusercontent.com/u/1497060?v=4","gravatar_id":"","url":"https://api.github.com/users/ozum","html_url":"https://github.com/ozum","followers_url":"https://api.github.com/users/ozum/followers","following_url":"https://api.github.com/users/ozum/following{/other_user}","gists_url":"https://api.github.com/users/ozum/gists{/gist_id}","starred_url":"https://api.github.com/users/ozum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozum/subscriptions","organizations_url":"https://api.github.com/users/ozum/orgs","repos_url":"https://api.github.com/users/ozum/repos","events_url":"https://api.github.com/users/ozum/events{/privacy}","received_events_url":"https://api.github.com/users/ozum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-11T08:12:34Z","updated_at":"2018-09-11T10:15:05Z","closed_at":"2018-09-11T08:17:51Z","author_association":"NONE","body":"Hi,\r\n\r\nUsing `objection-db-errors`, I handle db errors on a central function.\r\n\r\nWhen using `upsertGraph`, I may get errors like following\r\n\r\n`Error: root model (id=12) does not exist. If you want to insert it with an id, use the insertMissing option`\r\n\r\nIt is not a db driver error, and `objection-db-errors` handles driver errors, but I think `objection-db-errors` should probably handle it, because it is actually a db error, not different from for example `NotFoundError`.\r\n\r\nCould you please advise?\r\n\r\nKind regards,"},"comment":{"url":"https://api.github.com/repos/Vincit/objection-db-errors/issues/comments/420222115","html_url":"https://github.com/Vincit/objection-db-errors/issues/4#issuecomment-420222115","issue_url":"https://api.github.com/repos/Vincit/objection-db-errors/issues/4","id":420222115,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDIyMjExNQ==","user":{"login":"koskimas","id":846508,"node_id":"MDQ6VXNlcjg0NjUwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/846508?v=4","gravatar_id":"","url":"https://api.github.com/users/koskimas","html_url":"https://github.com/koskimas","followers_url":"https://api.github.com/users/koskimas/followers","following_url":"https://api.github.com/users/koskimas/following{/other_user}","gists_url":"https://api.github.com/users/koskimas/gists{/gist_id}","starred_url":"https://api.github.com/users/koskimas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koskimas/subscriptions","organizations_url":"https://api.github.com/users/koskimas/orgs","repos_url":"https://api.github.com/users/koskimas/repos","events_url":"https://api.github.com/users/koskimas/events{/privacy}","received_events_url":"https://api.github.com/users/koskimas/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T10:15:05Z","updated_at":"2018-09-11T10:15:05Z","author_association":"COLLABORATOR","body":"Seems to be related to this issue https://github.com/Vincit/objection.js/issues/1019"}}
{"actor":{"display_login":"koskimas"}}