diff --git a/src/JsonApiDotNetCore/Models/Annotation/HasManyThroughAttribute.cs b/src/JsonApiDotNetCore/Models/Annotation/HasManyThroughAttribute.cs
index 853a414b8f..f33276cb35 100644
--- a/src/JsonApiDotNetCore/Models/Annotation/HasManyThroughAttribute.cs
+++ b/src/JsonApiDotNetCore/Models/Annotation/HasManyThroughAttribute.cs
@@ -36,15 +36,14 @@ public class HasManyThroughAttribute : HasManyAttribute
/// The name of the navigation property that will be used to get the HasMany relationship
/// Which links are available. Defaults to
/// Whether or not this relationship can be included using the ?include=public-name query string
- /// The name of the entity mapped property, defaults to null
///
///
///
/// [HasManyThrough(nameof(ArticleTags), documentLinks: Link.All, canInclude: true)]
///
///
- public HasManyThroughAttribute(string internalThroughName, Link relationshipLinks = Link.All, bool canInclude = true, string mappedBy = null)
- : base(null, relationshipLinks, canInclude, mappedBy)
+ public HasManyThroughAttribute(string internalThroughName, Link relationshipLinks = Link.All, bool canInclude = true)
+ : base(null, relationshipLinks, canInclude)
{
InternalThroughName = internalThroughName;
}
@@ -57,15 +56,14 @@ public HasManyThroughAttribute(string internalThroughName, Link relationshipLink
/// The name of the navigation property that will be used to get the HasMany relationship
/// Which links are available. Defaults to
/// Whether or not this relationship can be included using the ?include=public-name query string
- /// The name of the entity mapped property, defaults to null
///
///
///
/// [HasManyThrough("tags", nameof(ArticleTags), documentLinks: Link.All, canInclude: true)]
///
///
- public HasManyThroughAttribute(string publicName, string internalThroughName, Link documentLinks = Link.All, bool canInclude = true, string mappedBy = null)
- : base(publicName, documentLinks, canInclude, mappedBy)
+ public HasManyThroughAttribute(string publicName, string internalThroughName, Link documentLinks = Link.All, bool canInclude = true)
+ : base(publicName, documentLinks, canInclude)
{
InternalThroughName = internalThroughName;
}