You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Easyjson does not work with structs generated by the Protocol Buffers go generator (protoc-gen-go).
The problem is that easyjson generates the MarshalEasyJSON method with a by-value receiver (introduced in #15), but structs generated by protoc-gen-go shouldn't be copied.
Using a by-reference receiver should solve this issue.
The text was updated successfully, but these errors were encountered:
Easyjson does not work with structs generated by the Protocol Buffers go generator (protoc-gen-go).
The problem is that easyjson generates the
MarshalEasyJSON
method with a by-value receiver (introduced in #15), but structs generated by protoc-gen-go shouldn't be copied.Using a by-reference receiver should solve this issue.
The text was updated successfully, but these errors were encountered: