`firstName = userUpdate.firstName ?: firstName` wo...
# getting-started
d
firstName = userUpdate.firstName ?: firstName
would be another option. I don’t think there’s an easy way to do it across all fields without using reflection.
👍 3