Skip to content

redefine-deps#61

Draft
darkleaf wants to merge 1 commit intomasterfrom
redefine-deps
Draft

redefine-deps#61
darkleaf wants to merge 1 commit intomasterfrom
redefine-deps

Conversation

@darkleaf
Copy link
Owner

No description provided.

@@ -3,21 +3,24 @@
[clojure.test :as t]
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

override-deps vs redefine-deps ? или что-то еще/

Comment on lines +816 to +822
(let [deps (into {}
(remove (fn [[k _]] (contains? mapping k)))
(p/dependencies factory))
mapping-deps (transduce (map p/dependencies)
combine-dependencies
(vals mapping))]
(combine-dependencies deps mapping-deps)))
Copy link
Owner Author

@darkleaf darkleaf May 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Может быть можно как-то компактнее записать?

Тут нужно только из deps удалить ключи из mappings, а сами mappings по идее могут содержать удаляемые зависимости

наверное стоит тестами обмазать, то, что я имею в виду

@darkleaf darkleaf requested a review from KGOH May 18, 2025 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant