Skip to content

Commit

Permalink
Be more specific about which model's ID property is missing in error …
Browse files Browse the repository at this point in the history
…message (#626)
  • Loading branch information
gwynne authored Jan 29, 2025
1 parent 260eff9 commit 153c495
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/FluentKit/Model/AnyModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ extension AnyModel {
return idChild
}
}
fatalError("id property must be declared using @ID or @CompositeID")
fatalError("id property for model \(Self.self) must be declared using @ID or @CompositeID")
}
}

0 comments on commit 153c495

Please sign in to comment.