clj-kondo 2024-11-15

I bumped clj-kondo in our biggest project, and it found a misplaced return schema annotation. Easy fix, thought I! Now I have 771 failing tests due to schema violations to contend with lolcry

😅 1

For those curious I ended up deleting the schema, after consultation with a more senior engineer. It was used only by tests, and applied by a middleware when pulling objects out of MongoDB. Unfortunately these objects are big and we have many code paths, some performance sensitive ones, that select only some of the properties. And these were causing the validation to blow up.

👍 2

Congrats :)

Should the https://github.com/clj-kondo/clj-kondo/blob/master/resources/CLJ_KONDO_RELEASED_VERSION file point to 2024.11.14? It still says 2024.09.27 which means that the installer script isn't picking up the latest release.

✅ 1

Correct and fixed!

🙇 1