Fork me on GitHub

i hope this is the right channel to ask questions about deps.edn and the clojure cli tools. i was wondering whether deps.edn can be spec'ed so that if one makes a mistake (e.g., putting a string literal where a symbol is expected), the cli tools can give some kind of feedback on the said mistake as spec errors. has the core team considered this?


This is a reasonable place to ask such questions about those tools. I'm not part of the core team, and do not know their views on stricter checking of deps.edn file contents.


thanks for the response, @U0CMVHBL2 🙂

Alex Miller (Clojure team)23:01:44

There are specs in the tools.deps repo

Alex Miller (Clojure team)23:01:18

It’s not currently checked as we were trying to support older Clojure versions although we could probably bump that req now


aha, indeed: yeah, being able to leverage this in clojure 1.10.x (or later versions) would be great. i'll settle for the comment form at the bottom of that spec file for now. 🙂 thanks!

Alex Miller (Clojure team)00:01:04

Yeah, I used that to validate all the deps.edn I had lying around :)