tools-deps

2025-01-22T15:24:37.273719Z

how safe is it to put arbitrary data in aliases that will be run with -M or -X?

Alex Miller (Clojure team) 2025-01-22T16:30:57.236549Z

safe for what purpose? if you are looking to pull it out by looking it up, it should be there so it's "safe" in that way. but as those are aliases used by the CLI, if we add some key that overlaps yours... that may be an issue

👍 1
2025-01-22T16:45:22.760469Z

cool, that's what I thought. I have a library that uses an alias to store configuration data, and someone asked why i didn't put that data in the :clein alias itself. i gave your answer, that it could lead to overlap. i think i'm going to stick with a separate alias, but it did make me wonder.

Alex Miller (Clojure team) 2025-01-22T16:46:47.974989Z

separating would be my preference (and am moving towards more options for creating composites)

👍 1
👍🏻 1