Skip to content

Use new task local trait from ConcurrencyExtras.#466

Merged
mbrandonw merged 2 commits into
mainfrom
use-task-local-trait
May 27, 2026
Merged

Use new task local trait from ConcurrencyExtras.#466
mbrandonw merged 2 commits into
mainfrom
use-task-local-trait

Conversation

@mbrandonw
Copy link
Copy Markdown
Member

We have a new .taskLocal test trait in ConcurrencyExtras (see here), and so let's start using it in this library. We are able to delete 180 lines of boilerplate for a bunch of task locals we use in our test suite to configure various parts of the sync engine.

Comment thread Tests/SQLiteDataTests/Internal/TestScopes.swift Outdated
@mbrandonw mbrandonw merged commit 79785e0 into main May 27, 2026
5 checks passed
@mbrandonw mbrandonw deleted the use-task-local-trait branch May 27, 2026 18:50
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.

2 participants