-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for marking certain types as serializable via sbt configu…
…ration (and not via `@SerializabilityTrait`) (#304) Add support for marking certain types as serializable via configuration (and not via `@SerializabilityTrait`)
- Loading branch information
1 parent
75a6d66
commit f422418
Showing
9 changed files
with
88 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
serializability-checker-compiler-plugin/src/test/resources/TellEitherSeqSetTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package org.random.project | ||
|
||
import akka.actor.ActorRef | ||
|
||
object TellEitherSeqSetTest { | ||
|
||
val ref: ActorRef = ??? | ||
ref.tell(Right("hello"), null) | ||
ref.tell(Seq("hello"), null) | ||
ref.tell(Set("hello"), null) | ||
} |
9 changes: 9 additions & 0 deletions
9
serializability-checker-compiler-plugin/src/test/resources/TellEitherTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.random.project | ||
|
||
import akka.actor.ActorRef | ||
|
||
object TellEitherTest { | ||
|
||
val ref: ActorRef = ??? | ||
ref.tell(Right("hello"), null) | ||
} |
9 changes: 9 additions & 0 deletions
9
serializability-checker-compiler-plugin/src/test/resources/TellSeqTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.random.project | ||
|
||
import akka.actor.ActorRef | ||
|
||
object TellSeqTest { | ||
|
||
val ref: ActorRef = ??? | ||
ref.tell(Seq("hello"), null) | ||
} |
9 changes: 9 additions & 0 deletions
9
serializability-checker-compiler-plugin/src/test/resources/TellSetTest.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.random.project | ||
|
||
import akka.actor.ActorRef | ||
|
||
object TellSetTest { | ||
|
||
val ref: ActorRef = ??? | ||
ref.tell(Set("hello"), null) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters