Skip to content

Commit 85b7322

Browse files
Un-deprecate cursor protocols (#39)
During discussion, it was determined that deprecating these protocols is too onerous at this time. We may re-introduce a deprecation at a later date, or provide some sort of compatibility layer between old and new update approaches.
1 parent d16c8e0 commit 85b7322

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

Sources/ObservableStore/ObservableStore.swift

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -429,11 +429,6 @@ extension CursorProtocol {
429429
/// - `action` the inner action
430430
/// - `environment` the environment for the update function
431431
/// - Returns a new outer state
432-
@available(
433-
*,
434-
deprecated,
435-
message: "CursorProtocol is depreacated and will be removed in a future update. Use ModelProtocol.update(get:set:tag:state:action:environment:) instead."
436-
)
437432
public static func update(
438433
state: Model,
439434
action viewAction: ViewModel.Action,
@@ -477,11 +472,6 @@ extension KeyedCursorProtocol {
477472
/// - `environment` the environment for the update function
478473
/// - `key` a key uniquely representing this model in the parent domain
479474
/// - Returns an update for a new outer state or nil
480-
@available(
481-
*,
482-
deprecated,
483-
message: "KeyedCursorProtocol is depreacated and will be removed in a future update. Use ModelProtocol.update(get:set:tag:state:action:environment:) instead."
484-
)
485475
public static func update(
486476
state: Model,
487477
action viewAction: ViewModel.Action,

0 commit comments

Comments
 (0)