We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@Entity
1 parent c8d0f85 commit 0644be1Copy full SHA for 0644be1
1 file changed
Sources/CoreModelMacros/Entity.swift
@@ -112,7 +112,7 @@ extension EntityMacro {
112
entityName = try typeName(of: node, providingMembersOf: declaration, in: context)
113
}
114
let entityNameDecl = """
115
- public static var entityName: String { "\(entityName)" }
+ public static var entityName: EntityName { "\(entityName)" }
116
"""
117
return DeclSyntax(stringLiteral: entityNameDecl)
118
0 commit comments