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

Schema name should be accessible from Schema too #69

Closed
ikitommi opened this issue Sep 13, 2019 · 1 comment
Closed

Schema name should be accessible from Schema too #69

ikitommi opened this issue Sep 13, 2019 · 1 comment
Labels
enhancement New feature or request

Comments

@ikitommi
Copy link
Member

Currently, we can't access orginal -name for a Schema instance, only from IntoSchema. This should be possible to run formalization for shortcut formats, e.g.

Currently:

(m/form [:re #"\d+"])
; [:re #"\d+"]

(m/form #"\d+")
; #"\d+"

Formalized:

(m/formalize [:re #"\d+"])
; [:re #"\d+"]

(m/formalize #"\d+")
; [:re #"\d+"]
@ikitommi ikitommi added the enhancement New feature or request label Sep 13, 2019
@ikitommi
Copy link
Member Author

ikitommi commented Oct 1, 2019

indeed, done

@ikitommi ikitommi closed this as completed Oct 1, 2019
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

1 participant