Skip to content

Commit 659ab38

Browse files
committed
fix resolving context accessors
1 parent 296db85 commit 659ab38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Kontent.Ai.Delivery.Abstractions/ContentItems/ResolvingContext.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ public class ResolvingContext
1111
/// <summary>
1212
/// Gets the content item within current resolving context
1313
/// </summary>
14-
public required Func<string, Task<object>> GetLinkedItem { get; internal set; }
14+
public required Func<string, Task<object>> GetLinkedItem { get; init; }
1515

1616
/// <summary>
1717
/// Gets an instance that resolves content links in Rich text element values
1818
/// </summary>
19-
public required IContentLinkUrlResolver ContentLinkUrlResolver { get; internal set; }
19+
public required IContentLinkUrlResolver ContentLinkUrlResolver { get; init; }
2020
}
2121
}

0 commit comments

Comments
 (0)