Slide 34
Slide 34 text
CustomerSignedUp {
“customerId”: …,
“fullName”: …
}
Upcasting
CustomerSignedUp {
“customerId”: …,
“firstName”: …,
“surName”: …
}
CustomerSignedUp {
“customerId”: …,
“firstName”: …,
“surName”: …,
“newsletter”: …
}
Upcaster
Upcaster