Skip to content

Commit e8db04b

Browse files
committed
Adding Description in Known side effect, Known Disability
1 parent c8ef413 commit e8db04b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@ let doubleTransform = FATransformOf<Int, Double> {
6161

6262
## Known side effect
6363

64-
- SuperDecoable must construct from nothing `(init()`)
65-
- `@Keyed var id:Int` will do O(n) calculation on underlaying wrapper `_id` into key `id`.
64+
- SuperDecoable must construct from nothing `(init()`
65+
- `@Keyed var id:Int` will do **O(n) calculation** on underlaying wrapper `_VARIABLE_NAME` into key `VARIABLE_NAME`. **Be ware of variable name takes too long**
6666

6767

6868
## Known Disability
6969

70-
- Every property in a SuperCodable should a `DecodableKey` / `EncodableKey`, otherwise the property will simply ignored during the Codable process.
70+
- Every property in a SuperCodable should a `DecodableKey` / `EncodableKey`, otherwise the property(which should be `Cobable`) will **simply ignored** during the Codable process.
71+
> Why:
72+
>> Basically Mirror can't matating the object value during the . `init(from decoder:) throws`, since we create the object from `self.init()`
7173
7274

7375
## Other notes

0 commit comments

Comments
 (0)