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

Introduce single-variant record custom type first #140

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GearsDatapacks
Copy link
Member

@GearsDatapacks GearsDatapacks commented Jan 27, 2025

Closes #139
This PR introduces records in the context of single-variant custom types first, which should hopefully resolve some confusion around them.
I wasn't completely sure how to introduce multi-variant records after that. Currently, since the next page shows an example of multi-variant records, I just leave that to explain it. But I'm not super happy about how it currently is, so I'd like others' opinions on what's best here. There are a few options:

  • Add another page explaining multi-variant records
  • Explain multi-variant records on the same page, and have two custom types defined in the example, one with 1 variant and one with several
  • Explain about multi-variant records in the record accessor page where they are used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Introduce single variant record custom types first
1 participant