{"action":"closed","issue":{"url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/697","repository_url":"https://api.github.com/repos/JeremySkinner/FluentValidation","labels_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/697/comments","events_url":"https://api.github.com/repos/JeremySkinner/FluentValidation/issues/697/events","html_url":"https://github.com/JeremySkinner/FluentValidation/issues/697","id":299111894,"number":697,"title":"Asp.NET Core 2.0 - Multiple hits on ctor when using DI  ","user":{"login":"MedEzz","id":30985028,"avatar_url":"https://avatars0.githubusercontent.com/u/30985028?v=4","gravatar_id":"","url":"https://api.github.com/users/MedEzz","html_url":"https://github.com/MedEzz","followers_url":"https://api.github.com/users/MedEzz/followers","following_url":"https://api.github.com/users/MedEzz/following{/other_user}","gists_url":"https://api.github.com/users/MedEzz/gists{/gist_id}","starred_url":"https://api.github.com/users/MedEzz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MedEzz/subscriptions","organizations_url":"https://api.github.com/users/MedEzz/orgs","repos_url":"https://api.github.com/users/MedEzz/repos","events_url":"https://api.github.com/users/MedEzz/events{/privacy}","received_events_url":"https://api.github.com/users/MedEzz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-21T20:12:33Z","updated_at":"2018-02-26T11:49:55Z","closed_at":"2018-02-26T11:49:55Z","author_association":"NONE","body":"Hi, \r\n\r\nI noticed when using DI with ASP.NET Core 2.0, ctor of validator class being hit/instantiated is equal to number of  time \"asp-validation-for\" is used in the view that uses injected ViewModel.  Is this behaviour by design? \r\n\r\nMy class RegisterValidator : AbstractValidator<RegisterViewModel> Instantiates 5 times  if I use DI as stated in documentation.\r\n\r\nMed"}}
{"actor":{"display_login":"JeremySkinner"}}