File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
src/JsonApiDotNetCore/Services Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 33using JsonApiDotNetCore . Configuration ;
44using JsonApiDotNetCore . Internal ;
55using JsonApiDotNetCore . Internal . Query ;
6+ using JsonApiDotNetCore . Models ;
67
78namespace JsonApiDotNetCore . Services
89{
@@ -20,5 +21,6 @@ public interface IJsonApiContext
2021 PageManager PageManager { get ; set ; }
2122 IMetaBuilder MetaBuilder { get ; set ; }
2223 IGenericProcessorFactory GenericProcessorFactory { get ; set ; }
24+ Dictionary < RelationshipAttribute , object > RelationshipsToUpdate { get ; set ; }
2325 }
2426}
Original file line number Diff line number Diff line change 44using JsonApiDotNetCore . Configuration ;
55using JsonApiDotNetCore . Internal ;
66using JsonApiDotNetCore . Internal . Query ;
7+ using JsonApiDotNetCore . Models ;
78using Microsoft . AspNetCore . Http ;
89
910namespace JsonApiDotNetCore . Services
@@ -23,6 +24,7 @@ public JsonApiContext(
2324 Options = options ;
2425 MetaBuilder = metaBuilder ;
2526 GenericProcessorFactory = genericProcessorFactory ;
27+ RelationshipsToUpdate = new Dictionary < RelationshipAttribute , object > ( ) ;
2628 }
2729
2830 public JsonApiOptions Options { get ; set ; }
@@ -36,6 +38,7 @@ public JsonApiContext(
3638 public PageManager PageManager { get ; set ; }
3739 public IMetaBuilder MetaBuilder { get ; set ; }
3840 public IGenericProcessorFactory GenericProcessorFactory { get ; set ; }
41+ public Dictionary < RelationshipAttribute , object > RelationshipsToUpdate { get ; set ; }
3942
4043 public IJsonApiContext ApplyContext < T > ( )
4144 {
You can’t perform that action at this time.
0 commit comments