Skip to content

Conversation

HeinrichvonStein
Copy link
Contributor

@HeinrichvonStein HeinrichvonStein commented Nov 21, 2024

A user has a use-case where they only needed attachments to be uploaded.
This change introduces a downloadAttachments option to the AbstractAttachmentQueue which defaults to true. If attachments should not be downloaded, the downloadAttachments option can be set to false.

Tested with:

  • react-native-supabase-todolist
  • react-native-web-supabase-todolist

Todo

  • add unit tests

Copy link

changeset-bot bot commented Nov 21, 2024

🦋 Changeset detected

Latest commit: 1cb4be4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@powersync/attachments Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Chriztiaan
Chriztiaan previously approved these changes Dec 3, 2024
@HeinrichvonStein HeinrichvonStein merged commit 0094e52 into main Dec 3, 2024
6 checks passed
@HeinrichvonStein HeinrichvonStein deleted the feat/add-conditional-attachment-download branch December 3, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants