Turn warning into a TODO

This commit is contained in:
Gwendal Roué committed 2020-12-19 13:07:24 +01:00
1 parent af55215356
commit 0d6f68646c
1 file changed
+1 -1
@@ -488,7 +488,7 @@ extension TableRecord where Self: EncodableRecord {
{
switch association._sqlAssociation.pivot.condition {
case .expression:
#warning("TODO: find a use case")
// TODO: find a use case?
fatalError("Not implemented: request association without any foreign key")
case let .foreignKey(request: foreignKeyRequest, originIsLeft: originIsLeft):