Commit 2e3e496
[Building Sync-ups Tutorial] fixes in "Testing the sync-up detail" chapter (#3579)
* Update SyncUpDetail tutorial intro to clarify state communication
Modify tutorial introduction to accurately describe how the SyncUpDetail feature updates parent state using a shared property
* Update SyncUpDetail tutorial test code to use `modify` and `withLock`
Refactor test code to:
- Use `modify` for nested state updates
- Apply `withLock` for thread-safe state mutation when editing a sync-up
* Restore the SyncUpDetail tutorial for testing the delete flow with `@Shared` property.
* Remove the restored delete test
Since it is already tested in the navigation section, I finally remove it and update the tutorial text to inform of that with a link to it.
* Update Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/06-SyncUpDetail/TestingSyncUpDetail.tutorial
---------
Co-authored-by: Stephen Celis <[email protected]>1 parent 6d55b5c commit 2e3e496
File tree
11 files changed
+8
-226
lines changed- Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/06-SyncUpDetail
11 files changed
+8
-226
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 0 additions & 31 deletions
This file was deleted.
Lines changed: 0 additions & 32 deletions
This file was deleted.
0 commit comments