Skip to content

Commit

Permalink
[doc] add explanation about writable keypath
Browse files Browse the repository at this point in the history
  • Loading branch information
pjechris committed Mar 25, 2024
1 parent d0f9354 commit a85e087
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ CohesionKit then handles synchronisation for the three entities:
- Author
- Book

> Only writable keypath are accepted. Using a KeyPath (let) will result in error: "Key path value type KeyPath<XX> cannot be converted to contextual type WritableKeyPath<XX>"
This gives you the ability to retrieve them independently from each other:

```swift
Expand Down

0 comments on commit a85e087

Please sign in to comment.