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

chore(server): Use ChunkedSet in Access repository #6943

Conversation

adamantike
Copy link
Contributor

This change simplifies the Access repository methods, by using the ChunkedSet decorator. As the methods expect sets, the chunks util needed to be fixed, so it returns chunks of the same type it received.

Now chunks is overloaded, to have proper typing based on the input parameter.

This change simplifies the Access repository methods, by using the
`ChunkedSet` decorator. As the methods expect sets, the `chunks` util
needed to be fixed, so it returns chunks of the same type it received.

Now `chunks` is overloaded, to have proper typing based on the input
parameter.
@jrasm91 jrasm91 merged commit 4164bcf into immich-app:main Feb 6, 2024
23 of 24 checks passed
@adamantike adamantike deleted the chore/server/use-chunkedset-for-access-repository branch February 6, 2024 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants