Skip to content

Commit

Permalink
improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
googley42 committed Oct 4, 2024
1 parent 5b786ce commit 2be5686
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import zio.schema.Schema
import zio.schema.DeriveSchema

// An example of using a model that uses only sum and product types to represent a deep hierarchy - this the recommended
// approach in functional data modelling and aligns with ZIO Schema's design.
// approach for modelling deeply nested hierarchies.
object TypeSafeApiAlternateModeling extends DynamoDBLocalSpec {

object dynamo {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ object TypeSafeApiMappingSpec extends DynamoDBLocalSpec {
// note the default sum type mapping does not work with top level sum types as it requires an intermediate map
// and partition keys must be scalar values

// A simple
@discriminatorName("invoiceType")
sealed trait InvoiceWithDiscriminatorName {
def id: String
Expand Down

0 comments on commit 2be5686

Please sign in to comment.