Just starting using protobufs, going to migrate from JSON to protobufs
 
Question is more about how to organize my code. I'm developing in Java 
using IntelliJ as IDE
 
1. I have existing namespace: com.me.dto - keeping all POCO classes that I 
use for JSON and all around
2. I'm adding namespace: com.me.dto.proto - I will place all *.proto files 
in there
3. I'm adding namespace: com.me.dto.proto.gen - All generated stuff will be 
placed there
4. I plan 1 message per .proto file
 
Does this sound like OK approach? Should I put all messages together 
instead? What if I have Order/OrderDetail classes, how to merge them? 
I have about 20 classes, but they tightly work with each other

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/sg1eA3tAuNAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to