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

Type vs. Refinement #821

Open
67726e opened this issue Jun 5, 2021 · 0 comments
Open

Type vs. Refinement #821

67726e opened this issue Jun 5, 2021 · 0 comments
Labels

Comments

@67726e
Copy link

67726e commented Jun 5, 2021

Per the documentation, "For example, you might want not just a string, but a specific format of string" is the prime example used for a refinement. However, the email type seems to match the definition of the refinement. Should the email not be used as a type but rather as a refinement?

To make this issue actionable, I think it would be beneficial to have a run-down of "Why?" in regards to Type vs. Refinement rather than just "Here's a type and here's a refinement."

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

No branches or pull requests

2 participants