-
-
Notifications
You must be signed in to change notification settings - Fork 243
Open
Description
Checklist
- Reviewed the README and documents.
- Searched existing issues for ensure not duplicated.
Expected Behavior
The docs (README) specifies that:
There are default implementations of Differentiable for the types that conforming to Equatable [or] Hashable
Current Behavior
Differentiable is defined as such:
public typealias Differentiable = ContentIdentifiable & ContentEquatableDetailed Description (Include Screenshots)
This discrepancy cost me a few days of refactoring, due to having many nested types that aren't all Equatable or Hashable. I conformed them to Equatable, and theoretically they should be Differentiable, but they don't seem to be. Any advice or workarounds appreciated here, but, this seems like a difference between the docs + code.
Environment
-
Library version:
1.1.5 -
Swift version:
5.7 -
iOS version:
16.0 -
Xcode version:
14.0 -
Devices/Simulators: Sim
-
CocoaPods/Carthage version:
1.11.3
Metadata
Metadata
Assignees
Labels
No labels