Skip to content

Commit 537e848

Browse files
committed
chore: improve testability by exposing SingleData and ManyData on Document
1 parent 07b393f commit 537e848

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonApiDotNetCore/Models/JsonApiDocuments/ExposableData.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ public bool ShouldSerializeData()
3131
/// <summary>
3232
/// Internally used for "single" primary data.
3333
/// </summary>
34-
internal T SingleData { get; private set; }
34+
public T SingleData { get; private set; }
3535

3636
/// <summary>
3737
/// Internally used for "many" primary data.
3838
/// </summary>
39-
internal List<T> ManyData { get; private set; }
39+
public List<T> ManyData { get; private set; }
4040

4141
/// <summary>
4242
/// Internally used to indicate if the document's primary data is

0 commit comments

Comments
 (0)