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

Programming with Schemas, part2 #63

Closed
ikitommi opened this issue Sep 8, 2019 · 2 comments · Fixed by #172
Closed

Programming with Schemas, part2 #63

ikitommi opened this issue Sep 8, 2019 · 2 comments · Fixed by #172
Labels
enhancement New feature or request
Milestone

Comments

@ikitommi
Copy link
Member

ikitommi commented Sep 8, 2019

schema-tools has nice utilities working with schemas. We should have some of those too, maybe in a separate ns? See also:

(-> [:map
     [:a int?]
     [:b string?]
     [:c [:map
          [:x int?]
          [:y keyword?]]]]
    (m/select-keys [:a :c])
    (m/update-in [:c] dissoc :y))
;[:map
; [:a int?]
; [:c [:map
;      [:x int?]]]]
@ikitommi ikitommi added enhancement New feature or request for discussion Discussion is main focus of PR and removed for discussion Discussion is main focus of PR labels Sep 8, 2019
@ikitommi
Copy link
Member Author

ikitommi commented Jan 2, 2020

Related #158 .

@ikitommi
Copy link
Member Author

ikitommi commented Jan 4, 2020

@ikitommi ikitommi added this to the alpha1 milestone Feb 1, 2020
@ikitommi ikitommi mentioned this issue Feb 10, 2020
11 tasks
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

Successfully merging a pull request may close this issue.

1 participant