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

cljs check should not require the user to require malli.generator #684

Closed
dvingo opened this issue Apr 4, 2022 · 0 comments · Fixed by #685
Closed

cljs check should not require the user to require malli.generator #684

dvingo opened this issue Apr 4, 2022 · 0 comments · Fixed by #685

Comments

@dvingo
Copy link
Contributor

dvingo commented Apr 4, 2022

This was mentioned in slack, I'm just recording it here as a reminder:

  • have the macro call a function in the instrument.cljs runtime namespace, instead of invoking malli.generator directly:
    (when-let [err# (mg/check schema# fn#)]

    so that it is available without the user needing to require it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant