{"action":"created","issue":{"url":"https://api.github.com/repos/pyecore/pyecoregen/issues/18","repository_url":"https://api.github.com/repos/pyecore/pyecoregen","labels_url":"https://api.github.com/repos/pyecore/pyecoregen/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/pyecore/pyecoregen/issues/18/comments","events_url":"https://api.github.com/repos/pyecore/pyecoregen/issues/18/events","html_url":"https://github.com/pyecore/pyecoregen/pull/18","id":295425144,"number":18,"title":"Add support for default values in the generated code","user":{"login":"aranega","id":2317394,"avatar_url":"https://avatars2.githubusercontent.com/u/2317394?v=4","gravatar_id":"","url":"https://api.github.com/users/aranega","html_url":"https://github.com/aranega","followers_url":"https://api.github.com/users/aranega/followers","following_url":"https://api.github.com/users/aranega/following{/other_user}","gists_url":"https://api.github.com/users/aranega/gists{/gist_id}","starred_url":"https://api.github.com/users/aranega/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aranega/subscriptions","organizations_url":"https://api.github.com/users/aranega/orgs","repos_url":"https://api.github.com/users/aranega/repos","events_url":"https://api.github.com/users/aranega/events{/privacy}","received_events_url":"https://api.github.com/users/aranega/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-08T08:35:43Z","updated_at":"2018-02-08T08:37:46Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/pyecore/pyecoregen/pulls/18","html_url":"https://github.com/pyecore/pyecoregen/pull/18","diff_url":"https://github.com/pyecore/pyecoregen/pull/18.diff","patch_url":"https://github.com/pyecore/pyecoregen/pull/18.patch"},"body":"This PR adds the support for the generation of default values in the metamodel code. The added code is pretty straight forward, but there is two special points: \r\n\r\n1. the `str` type values, the default value **must** contain the quotes in order to generate a string value in the Python code,\r\n2. the enumeration is a little bit more cumbersome as the literal could be a Python reserved keyword (see the `notation.ecore` metamodel from the gmf notation project to see such examples).  "},"comment":{"url":"https://api.github.com/repos/pyecore/pyecoregen/issues/comments/364039795","html_url":"https://github.com/pyecore/pyecoregen/pull/18#issuecomment-364039795","issue_url":"https://api.github.com/repos/pyecore/pyecoregen/issues/18","id":364039795,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars1.githubusercontent.com/u/2354108?v=4","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T08:37:46Z","updated_at":"2018-02-08T08:37:46Z","author_association":"NONE","body":"\n[![Coverage Status](https://coveralls.io/builds/15429207/badge)](https://coveralls.io/builds/15429207)\n\nCoverage remained the same at 100.0% when pulling **67685f3bff442c63cffd55298ab025a267781c75 on feature/default_values** into **a91ea2f31794ddb5cf8525fdebaed16db9af8d82 on master**.\n"}}
{"actor":{"display_login":"coveralls"}}