From 3804ed8bdb5d29bec0e615f8bda65eea2dd73da6 Mon Sep 17 00:00:00 2001 From: JARMourato Date: Wed, 12 Jun 2024 17:51:41 +0100 Subject: [PATCH] change macros package name part 2 --- Sources/Injection/Macros.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Injection/Macros.swift b/Sources/Injection/Macros.swift index b61b809..2d84999 100644 --- a/Sources/Injection/Macros.swift +++ b/Sources/Injection/Macros.swift @@ -1,6 +1,6 @@ // Copyright © 2024 JARMourato All rights reserved. -import InjectionMacroImpl +import InjectionMacrosImpl // MARK: - Macros @@ -8,9 +8,9 @@ import InjectionMacroImpl /// The initial value of the variable becomes the default value of the `DependencyKey`. @attached(peer, names: prefixed(___)) @attached(accessor, names: named(get), named(set)) -public macro DependencyKey() = #externalMacro(module: "InjectionMacroImpl", type: "DependencyKeyMacro") +public macro DependencyKey() = #externalMacro(module: "InjectionMacrosImpl", type: "DependencyKeyMacro") /// Applies the @DependencyKey macro to each child in the scope. /// This should only be applied on an `EnvironmentValues` or `DependencyValues` extensions. @attached(memberAttribute) -public macro Inject() = #externalMacro(module: "InjectionMacroImpl", type: "InjectValues") +public macro Inject() = #externalMacro(module: "InjectionMacrosImpl", type: "InjectValues")