-
-
Notifications
You must be signed in to change notification settings - Fork 287
Make serializedSize field @transient #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
nadavsr
added a commit
that referenced
this issue
May 23, 2015
Awesome! Thanks for updating so fast! |
This got released in 0.4.15. |
@thesamet Works wonderfully. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ScalaPB makes beautiful case classes, but they include an extra val called
serializedSize
. This field makes it impossible to use a library like spray-json to automatically generate JSON formatters for these case classes. Marking theserializedSize
field as@transient
will resolve this issue.https://github.com/trueaccord/ScalaPB/blob/425dd2d52a2261c5e63e392243bae8e0c97fe3e8/compiler-plugin/src/main/scala/com/trueaccord/scalapb/compiler/ProtobufGenerator.scala#L400
The text was updated successfully, but these errors were encountered: