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

Support recursion in Malli Schema definitions #20

Closed
ikitommi opened this issue Jul 13, 2019 · 2 comments
Closed

Support recursion in Malli Schema definitions #20

ikitommi opened this issue Jul 13, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@ikitommi
Copy link
Member

ikitommi commented Jul 13, 2019

Registry should support recursion, e.g.

{::age int?
 :child-age [:and ::age [:> 18]] ;; should be expanded
 :child [:map 
         [:name string?] 
         [:age :child-age] 
         [:friends [:set :child]]]} ;; recursion
@ikitommi ikitommi changed the title Recursive Malli Schema expansion from registry Support recursion in Malli Schema definitions Jul 13, 2019
@ikitommi ikitommi added enhancement New feature or request and removed enhancement New feature or request labels Jul 13, 2019
@RafaeLeal
Copy link

RafaeLeal commented Nov 15, 2019

Hello!
I have a different proposal, to be more flexible. So we don't require to be on registry to support recursion.
More info on Draft PR: #117

@ikitommi
Copy link
Member Author

ikitommi commented Jul 4, 2020

merged in master

@ikitommi ikitommi closed this as completed Jul 4, 2020
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