Hello there,

Is it encouraged to use protobuf generated classes as data model classes 
directly?

A reddit 
post 
https://www.reddit.com/r/golang/comments/rdkqwv/comment/ho1sfp9/?utm_source=share&utm_medium=web2x&context=3says
 
suggests "having a translation layer between persistence, transmission, and 
business logic if you are building for the long term". And there might be 
more related discussion online. What's your suggestion? Do readers who use 
protobuf classes as data model classes directly regret the decision? Or do 
readers who always prepare a translation layer between proto and data model 
classes wish they did not make that decision?

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/f4d9fba5-9b10-43fd-9984-27758d7d097en%40googlegroups.com.

Reply via email to