Skip to content

Commit 3b034f4

Browse files
committed
rewording
1 parent 59125c0 commit 3b034f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/common-pitfalls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public sealed class LoginAccount : Identifiable<long>
4747
}
4848
```
4949
Did you notice the missing type of the `LoginAccount.Customer` property? We must choose between `WebCustomer` or `AdminCustomer`, but neither is correct.
50-
This is just one of the issues you'll run into. Just don't go there.
50+
This is only one of the issues you'll run into. Just don't go there.
5151

5252
The right way to model this is by having only `Customer` instead of `WebCustomer` and `AdminCustomer`. And then:
5353
- Hide the `CreditRating` property for web users using [this](https://www.jsonapi.net/usage/extensibility/resource-definitions.html#excluding-fields) approach.

0 commit comments

Comments
 (0)