We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ae6844 commit 3ea7ef4Copy full SHA for 3ea7ef4
core/src/main/scala/org/nullvector/typed/ReactiveMongoEventSerializer.scala
@@ -138,11 +138,6 @@ class ReactiveMongoEventSerializer(
138
private implicit val defaultTimeout: Timeout = Timeout(15.seconds)
139
140
def addAdaptersAsync(adapters: Seq[EventAdapter[_]]): Future[Done] = {
141
- //Load mapping classes eagerly
142
- adapters.foreach{ adapter =>
143
- Try(adapter.toBson(null))
144
- Try(adapter.bsonToPayload(BSONDocument.empty))
145
- }
146
serializer
147
.ask(ref => SerializerBehavior.AddAdapters(adapters, ref))
148
}
0 commit comments