We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 414bd7e commit b482888Copy full SHA for b482888
src/WorkflowManager/Database/Repositories/TasksRepository.cs
@@ -68,7 +68,7 @@ private static async Task EnsureIndex(IMongoCollection<WorkflowInstance> workflo
68
Name = "TasksIndex"
69
};
70
var model = new CreateIndexModel<WorkflowInstance>(
71
- Builders<WorkflowInstance>.IndexKeys.Ascending(s => s.Tasks),
+ Builders<WorkflowInstance>.IndexKeys.Ascending($"{nameof(WorkflowInstance.Tasks)}.{nameof(Task.Status)}"),
72
options
73
);
74
0 commit comments