Skip to content

Commit

Permalink
Make lens extend serializable.
Browse files Browse the repository at this point in the history
  • Loading branch information
thesamet committed Oct 23, 2022
1 parent 5d9e1bb commit fe0a2e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [0.11.12]
- Lens now extends Serializable.

## [0.11.11]
- Add StubFactory for grpc clients (#1351)
- Support transformation on repeated option scalar (#1355)
Expand Down
2 changes: 1 addition & 1 deletion lenses/src/main/scala/scalapb/lenses/Lenses.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package scalapb.lenses

trait Lens[Container, A] extends Any {
trait Lens[Container, A] extends Serializable {
self =>

/** get knows how to extract some field of type `A` from a container */
Expand Down

0 comments on commit fe0a2e4

Please sign in to comment.