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

Move default/optional chained implementation to arktype #1223

Open
ssalbdivad opened this issue Dec 6, 2024 · 0 comments
Open

Move default/optional chained implementation to arktype #1223

ssalbdivad opened this issue Dec 6, 2024 · 0 comments

Comments

@ssalbdivad
Copy link
Member

Now that .default() and .optional() return a tuple definition based on arktype's syntax, they should be moved to arktype.

This will likely be a part of a larger refactoring of boundaries between @ark/schema and arktype since for now there is no runtime subclass for BaseRoot specific to arktype's syntax.

@github-project-automation github-project-automation bot moved this to To do in arktypeio Dec 6, 2024
@ssalbdivad ssalbdivad moved this from To do to Backlog in arktypeio Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant