diff --git a/Sources/ApolloCodegenLib/Templates/InterfaceTemplate.swift b/Sources/ApolloCodegenLib/Templates/InterfaceTemplate.swift index d514f389..e8598b41 100644 --- a/Sources/ApolloCodegenLib/Templates/InterfaceTemplate.swift +++ b/Sources/ApolloCodegenLib/Templates/InterfaceTemplate.swift @@ -17,7 +17,7 @@ struct InterfaceTemplate: TemplateRenderer { ) -> TemplateString { """ \(documentation: graphqlInterface.documentation, config: config) - static let \(graphqlInterface.formattedName) = Interface(name: "\(graphqlInterface.name)") + static let \(graphqlInterface.formattedName) = \(config.ApolloAPITargetName).Interface(name: "\(graphqlInterface.name)") """ } }