Skip to content

Commit 6a0f57e

Browse files
authored
[SE-0258] Fix typo (#2516)
1 parent 70499c5 commit 6a0f57e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: proposals/0258-property-wrappers.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ public struct Person: DatabaseModel {
290290

291291
`Field` itself has API that is important to users of `Person`: it lets us flush existing values, fetch new values, and retrieve the name of the corresponding field in the database. However, the underscored variables for each of the properties of our model (`_firstName`, `_lastName`, and `_birthdate`) are `private`, so our clients cannot manipulate them directly.
292292

293-
To vend API, the property wrapper type `Field` can provide a *projection* that allows us to manipulate the relationship of the field to the database. Projection properties are prefixed with a `$`, so the projection of the `firstName` property is called `$firstName` and is visible wherever `firstName` is visible. Property wrapper types opt into provided a projection by defining a `projectedValue` property:
293+
To vend API, the property wrapper type `Field` can provide a *projection* that allows us to manipulate the relationship of the field to the database. Projection properties are prefixed with a `$`, so the projection of the `firstName` property is called `$firstName` and is visible wherever `firstName` is visible. Property wrapper types opt into providing a projection by defining a `projectedValue` property:
294294

295295
```swift
296296
@propertyWrapper

0 commit comments

Comments
 (0)