Slide 2
Slide 2 text
Are you tired of
defining similar models?
Example: a few difference
case class BlogPost(
id: PostId,
title: String,
body: String,
url: URL,
publishedAt: DateTime,
)
case class BlogPostWithPaywall(
id: PostId,
title: String,
body: String,
paidPartOfBody: Option[String],
url: URL,
publishedAt: DateTime,
)
ྫɿ ϒϩάهࣄΛද͢Ϟσϧʢࠨʣͱɺهࣄͷ༗ྉ෦࣋ͭϞσϧʢӈʣ
paidPartOfBody ͷ༗ແ͚ͩҟͳΔ