Repository navigation
How to use external clojure libraries? #210
|
Hey folks, does anyone tried to use some library like https://github.com/plumatic/schema ? Is it actually possible? |
Replies: 5 comments 4 replies
|
I also put a question on that here: #20 (comment) |
|
Actually I follow this: https://github.com/babashka/nbb/blob/main/doc/dependencies.md And reach to this result: The repo is here: https://github.com/devsoutinho/app-labs/tree/main/_servers/webproxy |
|
@borkdude thanks for your answer! I will try to find an alternative, hope in future this work, will be amazing!!! I'm actually doing some experiments creating web servers like this one: https://devsoutinho-webproxy.herokuapp.com/ The full code is here: https://github.com/devsoutinho/app-labs/tree/main/_servers/webproxy/webproxy/app |
|
@omariosouto I made something here. The prismatic/schema library is compiled to another npm dependency which you have to also include and then you can use schema. Please try it out and let me know how it works for you. |
|
Thanks for the update @borkdude!!! it works now, and I'm able to do the validations I see that the Edit: I also try to run using |


@omariosouto I made something here. The prismatic/schema library is compiled to another npm dependency which you have to also include and then you can use schema. Please try it out and let me know how it works for you.
https://github.com/babashka/nbb#prismaticschema