Skip to content

Commit 86cac19

Browse files
authored
[doc] add explanation about writable keypath (#66)
1 parent d0f9354 commit 86cac19

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ CohesionKit then handles synchronisation for the three entities:
149149
- Author
150150
- Book
151151

152+
> 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>"
153+
152154
This gives you the ability to retrieve them independently from each other:
153155

154156
```swift

0 commit comments

Comments
 (0)