Skip to content

Commit 6bbff8c

Browse files
fix: Input type struct spacing
1 parent 9f2eced commit 6bbff8c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Sources/GraphQLGeneratorCore/Generator/TypeGenerator.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,10 @@ package struct TypeGenerator {
209209
}
210210

211211
let swiftTypeName = try swiftTypeDeclaration(for: type, nameGenerator: nameGenerator)
212-
output += "struct \(swiftTypeName): Codable, Sendable {\n"
212+
output += """
213+
214+
struct \(swiftTypeName): Codable, Sendable {
215+
"""
213216

214217
// Generate properties
215218
let fields = try type.fields()

0 commit comments

Comments
 (0)