{"action":"created","issue":{"url":"https://api.github.com/repos/mirumee/saleor/issues/3356","repository_url":"https://api.github.com/repos/mirumee/saleor","labels_url":"https://api.github.com/repos/mirumee/saleor/issues/3356/labels{/name}","comments_url":"https://api.github.com/repos/mirumee/saleor/issues/3356/comments","events_url":"https://api.github.com/repos/mirumee/saleor/issues/3356/events","html_url":"https://github.com/mirumee/saleor/pull/3356","id":385642326,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM0NTYzODIx","number":3356,"title":"Add can_finalize flag in draft order","user":{"login":"fowczarek","id":43955230,"node_id":"MDQ6VXNlcjQzOTU1MjMw","avatar_url":"https://avatars0.githubusercontent.com/u/43955230?v=4","gravatar_id":"","url":"https://api.github.com/users/fowczarek","html_url":"https://github.com/fowczarek","followers_url":"https://api.github.com/users/fowczarek/followers","following_url":"https://api.github.com/users/fowczarek/following{/other_user}","gists_url":"https://api.github.com/users/fowczarek/gists{/gist_id}","starred_url":"https://api.github.com/users/fowczarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fowczarek/subscriptions","organizations_url":"https://api.github.com/users/fowczarek/orgs","repos_url":"https://api.github.com/users/fowczarek/repos","events_url":"https://api.github.com/users/fowczarek/events{/privacy}","received_events_url":"https://api.github.com/users/fowczarek/received_events","type":"User","site_admin":false},"labels":[{"id":85254421,"node_id":"MDU6TGFiZWw4NTI1NDQyMQ==","url":"https://api.github.com/repos/mirumee/saleor/labels/in%20progress","name":"in progress","color":"2980B9","default":false}],"state":"open","locked":false,"assignee":{"login":"fowczarek","id":43955230,"node_id":"MDQ6VXNlcjQzOTU1MjMw","avatar_url":"https://avatars0.githubusercontent.com/u/43955230?v=4","gravatar_id":"","url":"https://api.github.com/users/fowczarek","html_url":"https://github.com/fowczarek","followers_url":"https://api.github.com/users/fowczarek/followers","following_url":"https://api.github.com/users/fowczarek/following{/other_user}","gists_url":"https://api.github.com/users/fowczarek/gists{/gist_id}","starred_url":"https://api.github.com/users/fowczarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fowczarek/subscriptions","organizations_url":"https://api.github.com/users/fowczarek/orgs","repos_url":"https://api.github.com/users/fowczarek/repos","events_url":"https://api.github.com/users/fowczarek/events{/privacy}","received_events_url":"https://api.github.com/users/fowczarek/received_events","type":"User","site_admin":false},"assignees":[{"login":"fowczarek","id":43955230,"node_id":"MDQ6VXNlcjQzOTU1MjMw","avatar_url":"https://avatars0.githubusercontent.com/u/43955230?v=4","gravatar_id":"","url":"https://api.github.com/users/fowczarek","html_url":"https://github.com/fowczarek","followers_url":"https://api.github.com/users/fowczarek/followers","following_url":"https://api.github.com/users/fowczarek/following{/other_user}","gists_url":"https://api.github.com/users/fowczarek/gists{/gist_id}","starred_url":"https://api.github.com/users/fowczarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fowczarek/subscriptions","organizations_url":"https://api.github.com/users/fowczarek/orgs","repos_url":"https://api.github.com/users/fowczarek/repos","events_url":"https://api.github.com/users/fowczarek/events{/privacy}","received_events_url":"https://api.github.com/users/fowczarek/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-11-29T09:27:42Z","updated_at":"2018-11-29T09:38:38Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/mirumee/saleor/pulls/3356","html_url":"https://github.com/mirumee/saleor/pull/3356","diff_url":"https://github.com/mirumee/saleor/pull/3356.diff","patch_url":"https://github.com/mirumee/saleor/pull/3356.patch"},"body":"I want to merge this change because resolve #3318 \r\n\r\nIn GraphQL queries and mutations, we should be able to get an information whether a draft order can be finalized or not.\r\n\r\n<!-- Please mention all relevant issue numbers. -->\r\n\r\n### Screenshots\r\n\r\n<!-- If your changes affect the UI, providing \"before\" and \"after\" screenshots will\r\ngreatly reduce the amount of work needed to review your work. -->\r\n\r\n### Pull Request Checklist\r\n\r\n<!-- Please keep this section. It will make maintainer's life easier. -->\r\n\r\n1. [ ] Privileged views and APIs are guarded by proper permission checks.\r\n1. [ ] All visible strings are translated with proper context.\r\n1. [ ] All data-formatting is locale-aware (dates, numbers, and so on).\r\n1. [ ] Database queries are optimized and the number of queries is constant.\r\n1. [ ] The changes are tested.\r\n1. [ ] The code is documented (docstrings, project documentation).\r\n1. [ ] GraphQL schema and type definitions are up to date.\r\n"},"comment":{"url":"https://api.github.com/repos/mirumee/saleor/issues/comments/442768264","html_url":"https://github.com/mirumee/saleor/pull/3356#issuecomment-442768264","issue_url":"https://api.github.com/repos/mirumee/saleor/issues/3356","id":442768264,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Mjc2ODI2NA==","user":{"login":"codecov[bot]","id":22429695,"node_id":"MDM6Qm90MjI0Mjk2OTU=","avatar_url":"https://avatars2.githubusercontent.com/in/254?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov%5Bbot%5D","html_url":"https://github.com/apps/codecov","followers_url":"https://api.github.com/users/codecov%5Bbot%5D/followers","following_url":"https://api.github.com/users/codecov%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/codecov%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/codecov%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/codecov%5Bbot%5D/repos","events_url":"https://api.github.com/users/codecov%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/codecov%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2018-11-29T09:38:38Z","updated_at":"2018-11-29T09:38:38Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=h1) Report\n> Merging [#3356](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=desc) into [master](https://codecov.io/gh/mirumee/saleor/commit/d23535ccb32bfad8876c4234c528cf1600d64de7?src=pr&el=desc) will **decrease** coverage by `0.01%`.\n> The diff coverage is `94.44%`.\n\n[![Impacted file tree graph](https://codecov.io/gh/mirumee/saleor/pull/3356/graphs/tree.svg?width=650&token=qkNcTJ4TmI&height=150&src=pr)](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=tree)\n\n```diff\n@@            Coverage Diff             @@\n##           master    #3356      +/-   ##\n==========================================\n- Coverage   89.64%   89.62%   -0.02%     \n==========================================\n  Files         236      237       +1     \n  Lines       12763    12767       +4     \n  Branches     1278     1280       +2     \n==========================================\n+ Hits        11441    11443       +2     \n  Misses        922      922              \n- Partials      400      402       +2\n```\n\n\n| [Impacted Files](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [saleor/graphql/order/utils.py](https://codecov.io/gh/mirumee/saleor/pull/3356/diff?src=pr&el=tree#diff-c2FsZW9yL2dyYXBocWwvb3JkZXIvdXRpbHMucHk=) | `100% <100%> (ø)` | |\n| [saleor/graphql/order/mutations/draft\\_orders.py](https://codecov.io/gh/mirumee/saleor/pull/3356/diff?src=pr&el=tree#diff-c2FsZW9yL2dyYXBocWwvb3JkZXIvbXV0YXRpb25zL2RyYWZ0X29yZGVycy5weQ==) | `93.36% <80%> (-1.19%)` | :arrow_down: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=footer). Last update [d23535c...c1f8c10](https://codecov.io/gh/mirumee/saleor/pull/3356?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov"}}