Skip to content
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

Support for RawContact IDs in AccountsQuery #276

Closed
vestrel00 opened this issue Dec 28, 2022 · 1 comment
Closed

Support for RawContact IDs in AccountsQuery #276

vestrel00 opened this issue Dec 28, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@vestrel00
Copy link
Owner

vestrel00 commented Dec 28, 2022

Problem

The AccountsQuery API requires a reference to an actual RawContact to fetch its account,

contactsApi.accounts().query().associatedWith(rawContact).find()

This means that, in cases where only the RawContact's ID is known, API users will first have to fetch the RawContact first...

Solution

Provide a function that takes in only RawContact IDs.

Notes

I discovered the need for this improvement while working on #167.

@vestrel00 vestrel00 added the enhancement New feature or request label Dec 28, 2022
@vestrel00 vestrel00 self-assigned this Dec 28, 2022
@vestrel00
Copy link
Owner Author

This is included in 0.3.0!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant