{"action":"created","issue":{"url":"https://api.github.com/repos/openiddict/openiddict-core/issues/579","repository_url":"https://api.github.com/repos/openiddict/openiddict-core","labels_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/579/labels{/name}","comments_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/579/comments","events_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/579/events","html_url":"https://github.com/openiddict/openiddict-core/issues/579","id":308178462,"number":579,"title":"Expose collection properties as real collections on model types","user":{"login":"xperiandri","id":2365592,"avatar_url":"https://avatars0.githubusercontent.com/u/2365592?v=4","gravatar_id":"","url":"https://api.github.com/users/xperiandri","html_url":"https://github.com/xperiandri","followers_url":"https://api.github.com/users/xperiandri/followers","following_url":"https://api.github.com/users/xperiandri/following{/other_user}","gists_url":"https://api.github.com/users/xperiandri/gists{/gist_id}","starred_url":"https://api.github.com/users/xperiandri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xperiandri/subscriptions","organizations_url":"https://api.github.com/users/xperiandri/orgs","repos_url":"https://api.github.com/users/xperiandri/repos","events_url":"https://api.github.com/users/xperiandri/events{/privacy}","received_events_url":"https://api.github.com/users/xperiandri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-23T21:04:54Z","updated_at":"2018-03-24T18:00:22Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Now you have ISet properties only on descriptor.\r\nLet's add them publicly to model type and hide current string properties privately. Then EF will set private property and we will deserialize them from JArray to a HashSet back."},"comment":{"url":"https://api.github.com/repos/openiddict/openiddict-core/issues/comments/375912568","html_url":"https://github.com/openiddict/openiddict-core/issues/579#issuecomment-375912568","issue_url":"https://api.github.com/repos/openiddict/openiddict-core/issues/579","id":375912568,"user":{"login":"PinpointTownes","id":6998306,"avatar_url":"https://avatars1.githubusercontent.com/u/6998306?v=4","gravatar_id":"","url":"https://api.github.com/users/PinpointTownes","html_url":"https://github.com/PinpointTownes","followers_url":"https://api.github.com/users/PinpointTownes/followers","following_url":"https://api.github.com/users/PinpointTownes/following{/other_user}","gists_url":"https://api.github.com/users/PinpointTownes/gists{/gist_id}","starred_url":"https://api.github.com/users/PinpointTownes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PinpointTownes/subscriptions","organizations_url":"https://api.github.com/users/PinpointTownes/orgs","repos_url":"https://api.github.com/users/PinpointTownes/repos","events_url":"https://api.github.com/users/PinpointTownes/events{/privacy}","received_events_url":"https://api.github.com/users/PinpointTownes/received_events","type":"User","site_admin":false},"created_at":"2018-03-24T18:00:22Z","updated_at":"2018-03-24T18:00:22Z","author_association":"CONTRIBUTOR","body":"> Going such a long way with methods looks not very continent, doesn't it?\r\n\r\nOpenIddict works this way since day 1. This pattern is inspired from ASP.NET Core Identity and allows writing components that don't depend on a particular model type.\r\n\r\nIn OrchardCore, this is what allows us to create controllers that work the same way independently of the stores chosen by the user: the default YesSql stores use their own models - completely optimized for the document-oriented nature of YesSql - and the EF Core stores have models that inherit from OpenIddict's default entities."}}
{"actor":{"display_login":"PinpointTownes"}}