From 89188f786a85873e72203a66a853f4e60e320848 Mon Sep 17 00:00:00 2001 From: Alan Zeino Date: Thu, 5 Sep 2024 13:41:31 -0700 Subject: [PATCH] Append NeedleFoundation to extensions generated in DependencyPropsSerializer --- .../Generating/Serializers/DependencyPropsSerializer.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Generator/Sources/NeedleFramework/Generating/Serializers/DependencyPropsSerializer.swift b/Generator/Sources/NeedleFramework/Generating/Serializers/DependencyPropsSerializer.swift index 0bf8213..0eae948 100644 --- a/Generator/Sources/NeedleFramework/Generating/Serializers/DependencyPropsSerializer.swift +++ b/Generator/Sources/NeedleFramework/Generating/Serializers/DependencyPropsSerializer.swift @@ -25,7 +25,7 @@ class DependencyPropsSerializer: Serializer { func serialize() -> String { if component.isLeaf { return """ -extension \(component.name): Registration { +extension \(component.name): NeedleFoundation.Registration { public func registerItems() { \(serialize(component.dependency)) } @@ -34,7 +34,7 @@ extension \(component.name): Registration { """ } else { return """ -extension \(component.name): Registration { +extension \(component.name): NeedleFoundation.Registration { public func registerItems() { \(serialize(component.dependency)) \(serialize(component.properties))