File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/JsonApiDotNetCore/Services Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
using System . Collections . Generic ;
2
+ using JsonApiDotNetCore . Builders ;
2
3
using JsonApiDotNetCore . Configuration ;
3
4
using JsonApiDotNetCore . Internal ;
4
5
using JsonApiDotNetCore . Internal . Query ;
@@ -17,6 +18,6 @@ public interface IJsonApiContext
17
18
List < string > IncludedRelationships { get ; set ; }
18
19
bool IsRelationshipPath { get ; }
19
20
PageManager PageManager { get ; set ; }
20
-
21
+ IMetaBuilder MetaBuilder { get ; set ; }
21
22
}
22
23
}
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ public class JsonApiContext : IJsonApiContext
14
14
public JsonApiContext (
15
15
IContextGraph contextGraph ,
16
16
IHttpContextAccessor httpContextAccessor ,
17
- JsonApiOptions options )
17
+ JsonApiOptions options ,
18
+ IMetaBuilder metaBuilder )
18
19
{
19
20
ContextGraph = contextGraph ;
20
21
_httpContextAccessor = httpContextAccessor ;
21
22
Options = options ;
23
+ MetaBuilder = metaBuilder ;
22
24
}
23
25
24
26
public JsonApiOptions Options { get ; set ; }
@@ -30,6 +32,7 @@ public JsonApiContext(
30
32
public bool IsRelationshipPath { get ; private set ; }
31
33
public List < string > IncludedRelationships { get ; set ; }
32
34
public PageManager PageManager { get ; set ; }
35
+ public IMetaBuilder MetaBuilder { get ; set ; }
33
36
34
37
public IJsonApiContext ApplyContext < T > ( )
35
38
{
You can’t perform that action at this time.
0 commit comments