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

Make the options for a schema optional #142

Open
aminnairi opened this issue Dec 13, 2023 · 0 comments
Open

Make the options for a schema optional #142

aminnairi opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
feature New feature or request
Milestone

Comments

@aminnairi
Copy link
Owner

Is your feature request related to a problem? Please describe.
Related to #140 & #141, it would be nice to be able to not be forced to have any options in any schema.

Describe the solution you'd like
Allow developers to not be forced to use an empty object for when using a schema.

import * as Kryptonian from "kryptonian";

// This
Kryptonian.Kalel.string();

// Instead of this
Kryptonian.Kalel.string({});

Describe alternatives you've considered
None.

Additional context
None.

@aminnairi aminnairi added the feature New feature or request label Dec 13, 2023
@aminnairi aminnairi added this to the 4.1.0 milestone Dec 13, 2023
@aminnairi aminnairi self-assigned this Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant