Skip to content

Commit

Permalink
name
Browse files Browse the repository at this point in the history
  • Loading branch information
darkleaf committed Oct 28, 2024
1 parent 897fa22 commit b2aba8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/darkleaf/di/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@
{:key key
:dep-type dep-type
:factory factory
:deps deps
:declared-deps deps
:remaining-deps (seq deps)}))

(defn- build-obj [built-map head]
(let [factory (:factory head)
declared-deps (:deps head)
declared-deps (:declared-deps head)
built-deps (select-keys built-map (keys declared-deps))]
(p/build factory built-deps)))

Expand Down

0 comments on commit b2aba8f

Please sign in to comment.