Skip to content

Commit c003997

Browse files
author
Bart Koelman
committed
Review: Made relationship properties internal
1 parent a73a2e3 commit c003997

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/JsonApiDotNetCore/Resources/Annotations/HasManyAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public sealed class HasManyAttribute : RelationshipAttribute
2626
/// <summary>
2727
/// Inspects <see cref="RelationshipAttribute.InverseNavigationProperty" /> to determine if this is a many-to-many relationship.
2828
/// </summary>
29-
public bool IsManyToMany => _lazyIsManyToMany.Value;
29+
internal bool IsManyToMany => _lazyIsManyToMany.Value;
3030

3131
public HasManyAttribute()
3232
{

src/JsonApiDotNetCore/Resources/Annotations/HasOneAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public sealed class HasOneAttribute : RelationshipAttribute
2525
/// <summary>
2626
/// Inspects <see cref="RelationshipAttribute.InverseNavigationProperty" /> to determine if this is a one-to-one relationship.
2727
/// </summary>
28-
public bool IsOneToOne => _lazyIsOneToOne.Value;
28+
internal bool IsOneToOne => _lazyIsOneToOne.Value;
2929

3030
public HasOneAttribute()
3131
{

0 commit comments

Comments
 (0)