You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bugfix: relationship links were rendered for ToMany relationships, even when explicitly turned off in global options (and not configured on the relationship itself).
/// Used to expose a property on a resource class as a JSON:API to-many relationship (https://jsonapi.org/format/#document-resource-object-relationships).
7
7
/// </summary>
8
+
/// <example>
9
+
/// <code><![CDATA[
10
+
/// public class Author : Identifiable
11
+
/// {
12
+
/// [HasMany(PublicName = "articles")]
13
+
/// public List<Article> Articles { get; set; }
14
+
/// }
15
+
/// ]]></code>
16
+
/// </example>
8
17
[AttributeUsage(AttributeTargets.Property)]
9
18
publicclassHasManyAttribute:RelationshipAttribute
10
19
{
11
-
/// <summary>
12
-
/// Creates a HasMany relational link to another resource.
0 commit comments