Help with REST API `emails` filter
Hey all! I just upgraded to
I'm working through updating my automations that talk to Twenty, and have a question about how to currently query on the new
I'm hoping to search all email fields for Persons to see if the email exists or is known or not. So I'm planning on using the
This filter query is working for primary emails just fine, but hoping to leverage similar to a
Curious if this PR is related or adds the functionality that I'm hoping to use - https://github.com/twentyhq/twenty/pull/6862
I briefly looked through GH issues but didn't see much related to the new array field type just yet for v0.30.
TIA!
v0.30.2 super excited to start leveraging some of the new features!I'm working through updating my automations that talk to Twenty, and have a question about how to currently query on the new
emails.primaryEmail and emails.additionalEmails fields. I'm hoping to search all email fields for Persons to see if the email exists or is known or not. So I'm planning on using the
or() operator with the /rest/people endpoint to query to see if they exist.This filter query is working for primary emails just fine, but hoping to leverage similar to a
contains() operator for the additional emails field:emails.primaryEmail[eq]:bob@example.comCurious if this PR is related or adds the functionality that I'm hoping to use - https://github.com/twentyhq/twenty/pull/6862
I briefly looked through GH issues but didn't see much related to the new array field type just yet for v0.30.
TIA!
GitHub![Introduce ARRAY field type by gitstart-app[bot] · Pull Request #686...](https://images-ext-1.discordapp.net/external/W7WKYHtZ3b-yZCVYon2FzqXEKMTd1uKaEyqMvnfqkWw/https/opengraph.githubassets.com/399bff1435137b28f580056f0c6686164a421275b90b6f71760bc302d4466503/twentyhq/twenty/pull/6862)
This PR was created by GitStart to address the requirements from this ticket: TWNTY-6447.
This ticket was imp...
This ticket was imp...