Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify that tagged is not assumed in the tutorial. #3076

Merged
merged 1 commit into from
May 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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()`.
}
}

Expand Down