{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2706","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2706/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2706/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2706/events","html_url":"https://github.com/aspnet/Mvc/issues/2706","id":88779368,"number":2706,"title":"Why DisplayAttribute is sealed?","user":{"login":"evorine","id":3532488,"avatar_url":"https://avatars.githubusercontent.com/u/3532488?v=3","gravatar_id":"","url":"https://api.github.com/users/evorine","html_url":"https://github.com/evorine","followers_url":"https://api.github.com/users/evorine/followers","following_url":"https://api.github.com/users/evorine/following{/other_user}","gists_url":"https://api.github.com/users/evorine/gists{/gist_id}","starred_url":"https://api.github.com/users/evorine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evorine/subscriptions","organizations_url":"https://api.github.com/users/evorine/orgs","repos_url":"https://api.github.com/users/evorine/repos","events_url":"https://api.github.com/users/evorine/events{/privacy}","received_events_url":"https://api.github.com/users/evorine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/external","name":"external","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-06-16T16:43:02Z","updated_at":"2016-09-19T16:13:57Z","closed_at":"2015-06-17T16:40:50Z","body":"In MVC5 I could create my own attribute from `DisplayNameAttribute` and override `DisplayName` property.\r\nWith this way the application could translate or format these texts dynamically if needed.\r\n\r\nBut as `DisplayAttribute` is sealed I can't do it anymore.\r\n\r\nAs I read here before, `DisplayNameAttribute` is no longer supported as it is not cross platform. It was a great power to be able to extend this attribute and customizing its name.\r\n\r\nSo is there an alternative way in MVC6? If not, isn't it better to allow developers to achieve this?\r\n\r\n**EDIT:** Just saw that `DisplayAttribute` is not part of MVC. So I don't know if I asked something impossible. I'm lost now."},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/248039440","html_url":"https://github.com/aspnet/Mvc/issues/2706#issuecomment-248039440","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2706","id":248039440,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2016-09-19T16:13:57Z","updated_at":"2016-09-19T16:13:57Z","body":"As @danroth27 said, this attribute is part of .NET Core and not specific to ASP.NET. Please see duplicate issue from last year in the CoreFx repository: dotnet/corefx#2093."}}
{"actor":{"display_login":"dougbu"}}