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 11using System . Collections . Generic ;
2+ using JsonApiDotNetCore . Builders ;
23using JsonApiDotNetCore . Configuration ;
34using JsonApiDotNetCore . Internal ;
45using JsonApiDotNetCore . Internal . Query ;
@@ -17,6 +18,6 @@ public interface IJsonApiContext
1718 List < string > IncludedRelationships { get ; set ; }
1819 bool IsRelationshipPath { get ; }
1920 PageManager PageManager { get ; set ; }
20-
21+ IMetaBuilder MetaBuilder { get ; set ; }
2122 }
2223}
Original file line number Diff line number Diff line change @@ -14,11 +14,13 @@ public class JsonApiContext : IJsonApiContext
1414 public JsonApiContext (
1515 IContextGraph contextGraph ,
1616 IHttpContextAccessor httpContextAccessor ,
17- JsonApiOptions options )
17+ JsonApiOptions options ,
18+ IMetaBuilder metaBuilder )
1819 {
1920 ContextGraph = contextGraph ;
2021 _httpContextAccessor = httpContextAccessor ;
2122 Options = options ;
23+ MetaBuilder = metaBuilder ;
2224 }
2325
2426 public JsonApiOptions Options { get ; set ; }
@@ -30,6 +32,7 @@ public JsonApiContext(
3032 public bool IsRelationshipPath { get ; private set ; }
3133 public List < string > IncludedRelationships { get ; set ; }
3234 public PageManager PageManager { get ; set ; }
35+ public IMetaBuilder MetaBuilder { get ; set ; }
3336
3437 public IJsonApiContext ApplyContext < T > ( )
3538 {
You can’t perform that action at this time.
0 commit comments