@@ -15,21 +15,6 @@ namespace JsonApiDotNetCore.Services
15
15
public class ResourceHookExecutor : IResourceHookExecutor
16
16
{
17
17
public static readonly IdentifiableComparer Comparer = new IdentifiableComparer ( ) ;
18
- public static readonly ResourceAction [ ] SingleActions =
19
- {
20
- ResourceAction . GetSingle ,
21
- ResourceAction . Create ,
22
- ResourceAction . Delete ,
23
- ResourceAction . Patch ,
24
- ResourceAction . GetRelationship ,
25
- ResourceAction . PatchRelationship
26
- } ;
27
- public static readonly ResourceHook [ ] ImplicitUpdateHooks =
28
- {
29
- ResourceHook . BeforeCreate ,
30
- ResourceHook . BeforeUpdate ,
31
- ResourceHook . BeforeDelete
32
- } ;
33
18
protected readonly EntityTreeLayerFactory _layerFactory ;
34
19
protected readonly IHookExecutorHelper _meta ;
35
20
protected readonly IJsonApiContext _context ;
@@ -209,7 +194,6 @@ public virtual IEnumerable<TEntity> BeforeDelete<TEntity>(IEnumerable<TEntity> e
209
194
CallHook ( nestedHookcontainer , ResourceHook . BeforeImplicitUpdateRelationship , new object [ ] { relationshipHelper , pipeline , } ) ;
210
195
}
211
196
}
212
-
213
197
return entities ;
214
198
215
199
}
@@ -352,9 +336,6 @@ public virtual void AfterDelete<TEntity>(IEnumerable<TEntity> entities, Resource
352
336
}
353
337
}
354
338
355
-
356
-
357
-
358
339
RelationshipProxy GetInverseRelationship ( RelationshipProxy proxy )
359
340
{
360
341
return new RelationshipProxy ( _graph . GetInverseRelationship ( proxy . Attribute ) , proxy . PrincipalType , false ) ;
0 commit comments