diff --git a/Sources/Snowdrop/SnowdropMacros.swift b/Sources/Snowdrop/SnowdropMacros.swift index 79d5bb9..8e9c85d 100644 --- a/Sources/Snowdrop/SnowdropMacros.swift +++ b/Sources/Snowdrop/SnowdropMacros.swift @@ -8,7 +8,7 @@ import Foundation // MARK: - Service macro -@attached(peer, names: arbitrary) +@attached(peer, names: suffixed(Service), suffixed(ServiceImpl)) public macro Service() = #externalMacro(module: "SnowdropMacros", type: "ServiceMacro") // MARK: - Mockable macro