You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f814cd6: Remove beforeResolve and afterResolve callbacks. After some time I figured that these hooks are an antipattern when it comes to the dependency injection (and are rarely used), therefore they are being removed.
634db4a: remove unbind hook. After some time I have found that the unbind hook is an antipattern and I do not want to support it anymore.
867d760: remove transform utility function. Another anti-pattern.
c72533b: This PR implements two new methods on the pumpit class validate and validateSafe. These methods check if dependency keys that are used for injection are present in the container. It will not instantiate any classes or run factory functions.
The validate method will throw an error if the tree is invalid, while the validateSafe method will return an object indicating whether the tree is valid.