Last active
December 18, 2021 02:01
-
-
Save vestrel00/2a9631510de2ad2f658a73cc0a75c4d9 to your computer and use it in GitHub Desktop.
If John Doe switches jobs and heads over to Microsoft, we can UPDATE his data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contacts(context) | |
.update() | |
.contacts(johnDoe.mutableCopy { | |
setOrganization { | |
company = "Microsoft" | |
title = "Newb" | |
} | |
emails().first().apply { | |
address = "john.doe@microsoft.com" | |
} | |
}) | |
.commit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment