Closed inliquid closed 1 year ago
personally, I doubt this is by design and unless someone screams you can raise a PR to change it, worst case we can revert if get a late scream. This is a detail important to finalize before any 1.0
Looks like we should change it to pointers.
I noticed that
gen-go-pugin
generates code which uses values, so the code looks like:While gRPC plugin generates this code from the same
*.proto
definition:This also makes
gopls
complain about copying ofsync.Mutex
:If it's by design, I would like to learn more about it.