{"action":"opened","issue":{"url":"https://api.github.com/repos/markeverard/Chief2moro.ImageDataExtensions/issues/3","repository_url":"https://api.github.com/repos/markeverard/Chief2moro.ImageDataExtensions","labels_url":"https://api.github.com/repos/markeverard/Chief2moro.ImageDataExtensions/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/markeverard/Chief2moro.ImageDataExtensions/issues/3/comments","events_url":"https://api.github.com/repos/markeverard/Chief2moro.ImageDataExtensions/issues/3/events","html_url":"https://github.com/markeverard/Chief2moro.ImageDataExtensions/issues/3","id":185631641,"number":3,"title":"Having required image dimensions makes the attributed itself required","user":{"login":"thomassvensen","id":77299,"avatar_url":"https://avatars.githubusercontent.com/u/77299?v=3","gravatar_id":"","url":"https://api.github.com/users/thomassvensen","html_url":"https://github.com/thomassvensen","followers_url":"https://api.github.com/users/thomassvensen/followers","following_url":"https://api.github.com/users/thomassvensen/following{/other_user}","gists_url":"https://api.github.com/users/thomassvensen/gists{/gist_id}","starred_url":"https://api.github.com/users/thomassvensen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomassvensen/subscriptions","organizations_url":"https://api.github.com/users/thomassvensen/orgs","repos_url":"https://api.github.com/users/thomassvensen/repos","events_url":"https://api.github.com/users/thomassvensen/events{/privacy}","received_events_url":"https://api.github.com/users/thomassvensen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-27T10:34:14Z","updated_at":"2016-10-27T10:34:14Z","closed_at":null,"body":"Is it by design that adding `RequiredImageSize` attribute also make the image property itself required? I would prefer that this:\r\n\r\n```\r\n  if (contentReference == null)\r\n        {\r\n                ErrorMessage = \"RequiredImageSize attribute should only be applied to ContentReference properties\";\r\n                return false;\r\n        }\r\n```\r\n\r\nwas replaced by\r\n\r\n```\r\n  if (contentReference == null)\r\n        {\r\n            return true;\r\n        }\r\n```\r\n\r\nWould you accept a pull request? :-)"}}
{"actor":{"display_login":"thomassvensen"}}