{"action":"created","issue":{"url":"https://api.github.com/repos/mgravell/protobuf-net/issues/371","repository_url":"https://api.github.com/repos/mgravell/protobuf-net","labels_url":"https://api.github.com/repos/mgravell/protobuf-net/issues/371/labels{/name}","comments_url":"https://api.github.com/repos/mgravell/protobuf-net/issues/371/comments","events_url":"https://api.github.com/repos/mgravell/protobuf-net/issues/371/events","html_url":"https://github.com/mgravell/protobuf-net/issues/371","id":306754202,"number":371,"title":"Private setters for repeated members (lists)","user":{"login":"clintonmead","id":22866845,"avatar_url":"https://avatars2.githubusercontent.com/u/22866845?v=4","gravatar_id":"","url":"https://api.github.com/users/clintonmead","html_url":"https://github.com/clintonmead","followers_url":"https://api.github.com/users/clintonmead/followers","following_url":"https://api.github.com/users/clintonmead/following{/other_user}","gists_url":"https://api.github.com/users/clintonmead/gists{/gist_id}","starred_url":"https://api.github.com/users/clintonmead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clintonmead/subscriptions","organizations_url":"https://api.github.com/users/clintonmead/orgs","repos_url":"https://api.github.com/users/clintonmead/repos","events_url":"https://api.github.com/users/clintonmead/events{/privacy}","received_events_url":"https://api.github.com/users/clintonmead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-20T07:24:33Z","updated_at":"2018-03-20T08:52:53Z","closed_at":null,"author_association":"NONE","body":"Hi Marc\r\n\r\nAgain, great library, finding it quite useful.\r\n\r\nRegarding `protogen.exe`, is there any reason for the setters for repeated members (which in C# are lists) to be private in the generated classes? Is there a way to make generate the code so these setters are public?\r\n\r\nAlso, is there a way to get `protogen.exe` to generate interfaces for the generated classes and make those classes implement the interface? This would allow me to progressively introduce protogen style classes into the project. \r\n\r\nFinally, perhaps a way to avoid all this, if I instead go with the approach of annotating my classes in C#, can I generate \".proto\" files from the generated classes instead of the other way around as I am currently doing?\r\n\r\nThanks again."},"comment":{"url":"https://api.github.com/repos/mgravell/protobuf-net/issues/comments/374519986","html_url":"https://github.com/mgravell/protobuf-net/issues/371#issuecomment-374519986","issue_url":"https://api.github.com/repos/mgravell/protobuf-net/issues/371","id":374519986,"user":{"login":"mgravell","id":17328,"avatar_url":"https://avatars3.githubusercontent.com/u/17328?v=4","gravatar_id":"","url":"https://api.github.com/users/mgravell","html_url":"https://github.com/mgravell","followers_url":"https://api.github.com/users/mgravell/followers","following_url":"https://api.github.com/users/mgravell/following{/other_user}","gists_url":"https://api.github.com/users/mgravell/gists{/gist_id}","starred_url":"https://api.github.com/users/mgravell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgravell/subscriptions","organizations_url":"https://api.github.com/users/mgravell/orgs","repos_url":"https://api.github.com/users/mgravell/repos","events_url":"https://api.github.com/users/mgravell/events{/privacy}","received_events_url":"https://api.github.com/users/mgravell/received_events","type":"User","site_admin":false},"created_at":"2018-03-20T08:52:53Z","updated_at":"2018-03-20T08:52:53Z","author_association":"OWNER","body":"Sorry the site is down - my azure credits ran out, and seeing as I make\nzero money from this, I chose to wait for my next cycle rather than pay a\ntopup. It should be back in the next day or two.\n\nIf you have a recent build, that should be fine - there have been lots of\nrecent commits, but they're unlikely to impact you.\n\nFor generating .proto from classes: Serializer.GetProto\n\n\nOn 20 Mar 2018 8:35 am, \"Clinton Mead\" <notifications@github.com> wrote:\n\nI’m using the version of ‘protogen’ from this now dead link\nhttps://protogen.marcgravell.com/ <https://protogen.marcgravell.com/>.\nPerhaps I should clone this repository and build a recent one yes?\n\nAlso sorry I added a few questions to this issue but is there anyway to\ngenerate the ‘.proto’ files from the C# annotated class files instead of\nthe other way around which I’m currently doing?\n\n—\nYou are receiving this because you commented.\n\nReply to this email directly, view it on GitHub\n<https://github.com/mgravell/protobuf-net/issues/371#issuecomment-374515316>,\nor mute the thread\n<https://github.com/notifications/unsubscribe-auth/AABDsD1Xf6ReuKw49JNluyd3QxY9FH7Pks5tgL8zgaJpZM4SxaPM>\n.\n"}}
{"actor":{"display_login":"mgravell"}}