Open GoogleCodeExporter opened 9 years ago
Making the *types* internal would be an option (via a switch), but this would
adversely affect some of the frameworks where reflection is more restricted.
Member-level would require more work, as this would presumably require .proto
extension, which is a bit... problematic.
Original comment by marc.gravell
on 7 Nov 2010 at 9:41
If the types themselves could be made internal, this would be enough. The
reason I requested this is that I see the protobuf classes as implementation
details to my protocol. Yes, I use these as anemic classes just for data
transfer. The classes that that are actually used to work with the requests
from the outside world have a very different layout and implementation which
don't match with the protobuf classes. Hiding the protobuf classes helps
keeping my API clean.
Original comment by pvginkel
on 7 Nov 2010 at 9:44
That should be possible (including command-line support) purely from the xslt;
I'll see what I can do.
Original comment by marc.gravell
on 7 Nov 2010 at 10:26
Original issue reported on code.google.com by
pvginkel
on 5 Nov 2010 at 8:44