Skip to content

Commit

Permalink
remove unnecessary type
Browse files Browse the repository at this point in the history
  • Loading branch information
googley42 committed Sep 9, 2024
1 parent 723e11a commit 59d4246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ object TypeSafeApiMappingSpec extends DynamoDBLocalSpec {
for {
_ <- put[InvoiceWithDiscriminatorName](invoiceTable, InvoiceWithDiscriminatorName.Unpaid("1")).execute
invoice <- // invoice is of type InvoiceWithDiscriminatorName
get[InvoiceWithDiscriminatorName](invoiceTable)(
get(invoiceTable)(
((InvoiceWithDiscriminatorName.unpaid) >>> (InvoiceWithDiscriminatorName.Unpaid.id)).partitionKey === "1"
).execute.absolve
} yield assertTrue(invoice == InvoiceWithDiscriminatorName.Unpaid("1"))
Expand Down

0 comments on commit 59d4246

Please sign in to comment.