From 55796f26a56ad0f00b4d66edf2e1b7d11f398a80 Mon Sep 17 00:00:00 2001 From: Dan Federman Date: Sun, 29 Dec 2024 18:12:30 +1300 Subject: [PATCH] Mention Factory in comparison blurb --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 28b25e04..31aa7fb7 100644 --- a/README.md +++ b/README.md @@ -155,6 +155,8 @@ SafeDI’s compile-time-safe design makes it similar to [Needle](https://github. Other Swift DI libraries like [Swinject](https://github.com/Swinject/Swinject) and [Cleanse](https://github.com/square/Cleanse) do not offer compile-time safety, though other features are similar. A primary benefit of the SafeDI library is that compilation validates your dependency tree. +Meanwhile, libraries like [Factory](https://github.com/hmlongco/Factory) offer compile-time validation of the dependency tree, but do so by preventing hierarchical dependency scoping, meaning that it’s not possible for scoped systems to have compile-time-safe, non-optional access to scoped dependencies. + To read about on how SafeDI compares to manual injection, please refer to the [Key Differences section of the manual](Documentation/Manual.md#comparing-safedi-and-manual-injection-key-differences). ## Acknowledgements