Skip to content

Commit 1c0a506

Browse files
committed
Fix a typo or two
1 parent 96345ce commit 1c0a506

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/FluentKitExtras/OptionalReferenceProperty.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ extension OptionalReferenceProperty: AnyCodableProperty {
179179

180180
extension OptionalReferenceProperty: Relation {
181181
public var name: String {
182-
"OptionalReference<\(From.self), \(To.self)>(for: \(self.parentKey))"
182+
"@OptionalReference<\(From.self), \(To.self)>(for: \(self.parentKey))"
183183
}
184184

185185
public func load(on database: any Database) -> EventLoopFuture<Void> {

Sources/FluentKitExtras/ReferencesProperty.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ extension ReferencesProperty: AnyCodableProperty {
193193

194194
extension ReferencesProperty: Relation {
195195
public var name: String {
196-
"References<\(From.self), \(To.self)>(for: \(self.parentKey))"
196+
"@References<\(From.self), \(To.self)>(for: \(self.parentKey))"
197197
}
198198

199199
public func load(on database: any Database) -> EventLoopFuture<Void> {

0 commit comments

Comments
 (0)