diff --git a/Sources/Puredux/DependencyInjection/Dependency.swift b/Sources/Puredux/DependencyInjection/Dependency.swift index 1155f66..c08025b 100644 --- a/Sources/Puredux/DependencyInjection/Dependency.swift +++ b/Sources/Puredux/DependencyInjection/Dependency.swift @@ -25,32 +25,3 @@ public struct Dependency { } } } - - -protocol Service { - -} - -struct ServiceImp: Service { - -} - -extension Dependencies { - @DependencyEntry var intValue = 1 - - @DependencyEntry var uuid = { UUID() } - @DependencyEntry var now = { Date() } - -} - -class Foo { - @Dependency(\.intValue) var value - - var uuidValue = Dependency[\.uuid] - - func ffofofo() { - Dependencies[\.now] = { .distantPast } - } -} - -