Skip to content

Commit 5a141cf

Browse files
committed
fix: milou comments
1 parent 86e11d4 commit 5a141cf

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/JsonApiDotNetCore/Services/EntityResourceService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public EntityResourceService(
1919
IEntityRepository<TResource> entityRepository,
2020
IResourceHookExecutor hookExecutor = null,
2121
ILoggerFactory loggerFactory = null) :
22-
base(jsonApiContext, entityRepository, hookExecutor, loggerFactory)
22+
base(jsonApiContext, entityRepository, loggerFactory, hookExecutor)
2323
{ }
2424
}
2525

@@ -30,8 +30,8 @@ public class EntityResourceService<TResource, TId> : EntityResourceService<TReso
3030
public EntityResourceService(
3131
IJsonApiContext jsonApiContext,
3232
IEntityRepository<TResource, TId> entityRepository,
33-
IResourceHookExecutor hookExecutor = null,
34-
ILoggerFactory loggerFactory = null) :
33+
ILoggerFactory loggerFactory = null,
34+
IResourceHookExecutor hookExecutor = null) :
3535
base(jsonApiContext, entityRepository, loggerFactory, hookExecutor)
3636
{ }
3737
}

test/UnitTests/Models/ResourceDefinitionTests.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ public override QueryFilters GetQueryFilters()
124124
=> new QueryFilters {
125125
{ "is-active", (query, value) => query.Select(x => x) }
126126
};
127-
128-
protected override PropertySortOrder GetDefaultSortOrder()
127+
public override PropertySortOrder GetDefaultSortOrder()
129128
=> new PropertySortOrder {
130129
(t => t.Prop, SortDirection.Ascending)
131130
};

0 commit comments

Comments
 (0)