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

Wrapping fn args in a multi-schema #994

Open
gpind opened this issue Jan 19, 2024 · 1 comment
Open

Wrapping fn args in a multi-schema #994

gpind opened this issue Jan 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@gpind
Copy link
Contributor

gpind commented Jan 19, 2024

Malli does not allow wrapping the :cat in a function schema with e.g. :and or :multi, making it impossible(?) to spec a function where one argument determines the shape of another. Can this restriction be removed or relaxed?

@ikitommi
Copy link
Member

The restriction doesn't make much sense. should be relaxed.

@ikitommi ikitommi added the enhancement New feature or request label Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants