From bc5ba1b8e1cfb97ae9b5b1328efc4e1b36665756 Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Sat, 11 May 2024 11:47:10 -0700 Subject: [PATCH] Clarify that tagged is not assumed in the tutorial. --- .../02-ListsOfSyncUps/ListsOfSyncUps.tutorial | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/02-ListsOfSyncUps/ListsOfSyncUps.tutorial b/Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/02-ListsOfSyncUps/ListsOfSyncUps.tutorial index 35af2de1e817..b01538959bd8 100644 --- a/Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/02-ListsOfSyncUps/ListsOfSyncUps.tutorial +++ b/Sources/ComposableArchitecture/Documentation.docc/Tutorials/BuildingSyncUps/02-ListsOfSyncUps/ListsOfSyncUps.tutorial @@ -70,7 +70,8 @@ @Step { Add the `Tagged` library to your project by navigating to the build settings, and then to - the package dependencies tab. + the package dependencies tab, and input the GitHub URL: + [https://github.com/pointfreeco/swift-tagged](https://github.com/pointfreeco/swift-tagged). @Image(source: syncups-02-package-dependencies-tagged.png) } @@ -87,6 +88,12 @@ @Code(name: "Models.swift", file: ListsOfSyncUps-01-code-0004.swift) } + + > Important: To keep things simple for the rest of this tutorial we will _not_ assume that + you have implemented the `Tagged` type into your domain. If you choose to use `Tagged` then + you will need to do some extra work to construct tagged values that is not covered in + the tutorial. For example, once we get to using dependencies to control UUIDs, you will need + to write `Attendee.ID(uuid())` instead of just `uuid()`. } }