From d7919b6883b916294fa5e872b3797cf96bf31405 Mon Sep 17 00:00:00 2001 From: rodrigo Date: Mon, 13 Apr 2020 14:22:34 -0300 Subject: [PATCH] readmine typo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 55aeac7..e9cf682 100644 --- a/README.md +++ b/README.md @@ -87,10 +87,10 @@ val eventAdapter = EventAdapterFactory.adapt[Type4](withManifest = "SomeEvent", ``` Traits famlily (`sealed trait`), aka: sum types, are mapped automatically: ```scala -sealed trait InvoceLineType +sealed trait InvoiceLineType case object ProductLine extends InvoiceLineType ... -case class InvoiceLine(lineType: InvoceLineType, ...) +case class InvoiceLine(lineType: InvoiceLineType, ...) case class InvoiceLineAdded(line: InvoiceLine) ... implicit val conf = MacroConfiguration(discriminator = "_type", typeNaming = TypeNaming.SimpleName)