{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12986","repository_url":"https://api.github.com/repos/civicrm/civicrm-core","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12986/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12986/comments","events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12986/events","html_url":"https://github.com/civicrm/civicrm-core/pull/12986","id":372749758,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0ODUyMzA1","number":12986,"title":"dev/core#463 Add in ability for Extensions to use their Extension Utils class to s…","user":{"login":"seamuslee001","id":6799125,"node_id":"MDQ6VXNlcjY3OTkxMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/6799125?v=4","gravatar_id":"","url":"https://api.github.com/users/seamuslee001","html_url":"https://github.com/seamuslee001","followers_url":"https://api.github.com/users/seamuslee001/followers","following_url":"https://api.github.com/users/seamuslee001/following{/other_user}","gists_url":"https://api.github.com/users/seamuslee001/gists{/gist_id}","starred_url":"https://api.github.com/users/seamuslee001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamuslee001/subscriptions","organizations_url":"https://api.github.com/users/seamuslee001/orgs","repos_url":"https://api.github.com/users/seamuslee001/repos","events_url":"https://api.github.com/users/seamuslee001/events{/privacy}","received_events_url":"https://api.github.com/users/seamuslee001/received_events","type":"User","site_admin":false},"labels":[{"id":246037889,"node_id":"MDU6TGFiZWwyNDYwMzc4ODk=","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/master","name":"master","color":"0052cc","default":false},{"id":652336152,"node_id":"MDU6TGFiZWw2NTIzMzYxNTI=","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/merge%20ready","name":"merge ready","color":"c2e0c6","default":false},{"id":958227028,"node_id":"MDU6TGFiZWw5NTgyMjcwMjg=","url":"https://api.github.com/repos/civicrm/civicrm-core/labels/sig:extension%20support","name":"sig:extension support","color":"fef200","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-23T00:11:29Z","updated_at":"2018-10-23T20:45:08Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/12986","html_url":"https://github.com/civicrm/civicrm-core/pull/12986","diff_url":"https://github.com/civicrm/civicrm-core/pull/12986.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/12986.patch"},"body":"…upply ts Functions in DAOs\r\n\r\nOverview\r\n----------------------------------------\r\nThis allows for Civix or similar to ensure that when the DAO is generated that it uses instead of ts E::ts and that civix can insert the relevant use statement to use the Extensions' utils class\r\n\r\nBefore\r\n----------------------------------------\r\nNo extension utils in DAO\r\n\r\nAfter\r\n----------------------------------------\r\nExtension utils exists\r\n\r\nTechnical details\r\n----------------------------------------\r\nWhen creating a new entity (e.g DiscountItem) via an extension the new entity will need a DAO class. Our Civix code currently supports this - at least somewhat - but will not wrap any translatables with ```ts``` rather than the (correct for extensions) ```E::ts``` . Adding this to core will allow civix to leverage it to better create extension DAO objects\r\n"},"comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments/432412630","html_url":"https://github.com/civicrm/civicrm-core/pull/12986#issuecomment-432412630","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/12986","id":432412630,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjQxMjYzMA==","user":{"login":"eileenmcnaughton","id":336308,"node_id":"MDQ6VXNlcjMzNjMwOA==","avatar_url":"https://avatars2.githubusercontent.com/u/336308?v=4","gravatar_id":"","url":"https://api.github.com/users/eileenmcnaughton","html_url":"https://github.com/eileenmcnaughton","followers_url":"https://api.github.com/users/eileenmcnaughton/followers","following_url":"https://api.github.com/users/eileenmcnaughton/following{/other_user}","gists_url":"https://api.github.com/users/eileenmcnaughton/gists{/gist_id}","starred_url":"https://api.github.com/users/eileenmcnaughton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eileenmcnaughton/subscriptions","organizations_url":"https://api.github.com/users/eileenmcnaughton/orgs","repos_url":"https://api.github.com/users/eileenmcnaughton/repos","events_url":"https://api.github.com/users/eileenmcnaughton/events{/privacy}","received_events_url":"https://api.github.com/users/eileenmcnaughton/received_events","type":"User","site_admin":false},"created_at":"2018-10-23T20:45:08Z","updated_at":"2018-10-23T20:45:08Z","author_association":"CONTRIBUTOR","body":"I've added merge-ready. Ideally @totten will comment & we should hold a bit for that - but not that long as we know Tim can't look at everything & this is fairly minor"}}
{"actor":{"display_login":"eileenmcnaughton"}}