Update documentation and examples to use Swift Testing #5967
Annotations
10 warnings
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Debug:
Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
|
Debug:
Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
|
Debug:
Sources/ComposableArchitecture/SharedState/PersistenceKey/AppStorageKeyPathKey.swift#L28
stored property 'keyPath' of 'Sendable'-conforming generic struct 'AppStorageKeyPathKey' has non-sendable type '_ReferenceWritableKeyPath<UserDefaults, Value>' (aka 'ReferenceWritableKeyPath<UserDefaults, Value>')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L17
stored property 'keyPath' of 'Sendable'-conforming generic struct 'Shared' has non-sendable type '_AnyKeyPath' (aka 'AnyKeyPath')
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L67
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L183
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
|
Debug:
Sources/ComposableArchitecture/SharedState/Shared.swift#L466
'unsafeBitCast' from 'AnyKeyPath' to '_AnyKeyPath' (aka 'AnyKeyPath') is unnecessary and can be removed
|
Debug:
Sources/ComposableArchitecture/SwiftUI/Binding.swift#L147
stored property 'keyPath' of 'Sendable'-conforming generic struct 'BindingAction' has non-sendable type '_PartialKeyPath<Root>' (aka 'PartialKeyPath<Root>')
|
Loading