implement route /articles/{article}/follows

create repository for find_follow
This commit is contained in:
2020-02-27 17:14:56 +01:00
parent 3a08052728
commit 967b370a41
4 changed files with 38 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ interface TargetI : UuidEntityI {
t.isSubclassOf(ConstitutionRef::class) -> TargetName.Constitution.targetReference
t.isSubclassOf(CommentRef::class) -> TargetName.Comment.targetReference
t.isSubclassOf(Opinion::class) -> TargetName.Opinion.targetReference
else -> throw error("target not implemented: ${t.qualifiedName}")
else -> throw error("target not implemented: ${t.qualifiedName} \nImplement it or return 'reference' from SQL")
}
}