Skip to content

Conversation

@stephencelis
Copy link
Member

This deprecates the existing query expression API for a @DatabaseFunction with a projected query expression:

// Before:
SyncEngine.isSynchronizingChanges()  // some QueryExpression<Bool>

// After:
SyncEngine.isSynchronizing           // Bool
SyncEngine.$isSynchronizing          // some QueryExpression<Bool>

Depends on pointfreeco/swift-structured-queries#249

This deprecates the existing query expression API for a
`@DatabaseFunction` with a projected query expression:

```swift
// Before:
SyncEngine.isSynchronizingChanges()  // some QueryExpression<Bool>

// After:
SyncEngine.isSynchronizing           // Bool
SyncEngine.$isSynchronizing          // some QueryExpression<Bool>
```
@stephencelis stephencelis marked this pull request as ready for review January 13, 2026 20:18
@stephencelis stephencelis merged commit 12b8b4e into main Jan 13, 2026
5 checks passed
@stephencelis stephencelis deleted the is-synchronizing-var branch January 13, 2026 20:29
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