Fork me on GitHub
#clojure-europe
<
2023-04-07
>
mccraigmccraig11:04:15

i have a day to do some open-source! starting with this : https://github.com/mccraigmccraig/deepstate - nothing to see there yet but the fabulous name, courtesy of @borkdude 😀

🎉 12
😍 2
ray15:04:48

Good morning

2
❤️ 2
mccraigmccraig19:04:49

well i was doing quite well, and got deepstate packaged on clojars and and on http://cljdoc.org , and was putting an example together, but then i went and forgot that CORS would stop me making an example which actually hits the web and wasted time :man-facepalming:, so i'll have to go back and rework https://github.com/lilactown/helix-todo-mvc or something

borkdude20:04:29

I see your repo has a .clj-kondo/config.edn and it contains configs for promesa and malli. If you run:

clj-kondo --lint $(clojure -Spath) --dependencies --copy-configs --skip-lint
it will actually copy the bundled configs fr promesa and malli and copy it to your config folder and you can remove your own configs for them

mccraigmccraig20:04:10

oh, that is very handy - thanks @borkdude

orestis05:04:10

You can find an api that has cors enabled. I used NASA apod for an api.

👍 2