-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APIv4 - Read & write contact primary and billing locations as implicit joins #23972
APIv4 - Read & write contact primary and billing locations as implicit joins #23972
Conversation
(Standard links)
|
6bb3b2f
to
efa4df2
Compare
Declares an implicit join between the contact record and primary/billing email, phone, address & im records, making it easier to retrieve those directly from the Contact API.
Provides symmetry with get operations, allowing email, phone, address & im to be both read and written to within the contact api.
efa4df2
to
88ef152
Compare
@colemanw so the expectation is that if the contact has a street address & I update |
In my testing I find that for
Returns the following I find the returning of an For
|
While not api advertised it seems the
|
I don't think the explorer thing is blocking - & I think the |
On reflection I'm going to merge this so it hits the rc - I know you were wanting it to & we could update the rc with the outcome of any further discussion is need be |
Overview
Makes it easier to search and display contact primary email, phone, im without using any joins in SearchKit.
Both read & write are supported.
See dev/core#3659
Before
In SearchKit, you must add an explicit join if you want to view a contact's address, phone, email, etc.
After
Declares an implicit join between the contact record and primary/billing email, phone, address & im records, making it easier to retrieve those directly from the Contact API.
Read and write both supported. Also you can pass
NULL
to delete them.