{"action":"created","issue":{"url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/185","repository_url":"https://api.github.com/repos/leekelleher/umbraco-ditto","labels_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/185/comments","events_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/185/events","html_url":"https://github.com/leekelleher/umbraco-ditto/pull/185","id":168384550,"number":185,"title":"Adds PropertySource to UmbracoPropertyAttribute ","user":{"login":"mattbrailsford","id":527305,"avatar_url":"https://avatars.githubusercontent.com/u/527305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrailsford","html_url":"https://github.com/mattbrailsford","followers_url":"https://api.github.com/users/mattbrailsford/followers","following_url":"https://api.github.com/users/mattbrailsford/following{/other_user}","gists_url":"https://api.github.com/users/mattbrailsford/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrailsford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrailsford/subscriptions","organizations_url":"https://api.github.com/users/mattbrailsford/orgs","repos_url":"https://api.github.com/users/mattbrailsford/repos","events_url":"https://api.github.com/users/mattbrailsford/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrailsford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-29T18:23:29Z","updated_at":"2016-08-01T08:27:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/leekelleher/umbraco-ditto/pulls/185","html_url":"https://github.com/leekelleher/umbraco-ditto/pull/185","diff_url":"https://github.com/leekelleher/umbraco-ditto/pull/185.diff","patch_url":"https://github.com/leekelleher/umbraco-ditto/pull/185.patch"},"body":"This is a fix for issue #184. \r\n\r\nAdded code to allow you to select a property source when using UmbracoPropertyAttribute so that you can define the order in which properties are checked between the instance properties and properties in the umbraco properties collection. This can be set per property using the PropertySource parameter of the UmbracoPropertyAttribute, or globally by setting Ditto.DefaultPropertySource in an app startup handler. If using either InstanceThenUmbracoProperties (the default) or UmbracoThenInstanceProperties and the site is in debug mode, and ditto detects that the property requested hides a property in the other source, then a warning log message will be logged to the log file giving instructions to either not use reserved aliases, or to use PropertySource to override the behavior if required."},"comment":{"url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/comments/236519284","html_url":"https://github.com/leekelleher/umbraco-ditto/pull/185#issuecomment-236519284","issue_url":"https://api.github.com/repos/leekelleher/umbraco-ditto/issues/185","id":236519284,"user":{"login":"mattbrailsford","id":527305,"avatar_url":"https://avatars.githubusercontent.com/u/527305?v=3","gravatar_id":"","url":"https://api.github.com/users/mattbrailsford","html_url":"https://github.com/mattbrailsford","followers_url":"https://api.github.com/users/mattbrailsford/followers","following_url":"https://api.github.com/users/mattbrailsford/following{/other_user}","gists_url":"https://api.github.com/users/mattbrailsford/gists{/gist_id}","starred_url":"https://api.github.com/users/mattbrailsford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattbrailsford/subscriptions","organizations_url":"https://api.github.com/users/mattbrailsford/orgs","repos_url":"https://api.github.com/users/mattbrailsford/repos","events_url":"https://api.github.com/users/mattbrailsford/events{/privacy}","received_events_url":"https://api.github.com/users/mattbrailsford/received_events","type":"User","site_admin":false},"created_at":"2016-08-01T08:27:15Z","updated_at":"2016-08-01T08:27:15Z","body":"@jamiepollock not a bad idea, and pretty easy to implement. Give me a minute :)"}}
{"actor":{"display_login":"mattbrailsford"}}