Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve UnitOfWork.Sort to use a stable sorting algorithm #3264

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

haefele
Copy link
Contributor

@haefele haefele commented Jun 16, 2024

This allows operations with same priority, to keep their relative order.

In my case, it keeps the order intact between Upsert-operations for Folders.

The test I added successfully reproduced the issue, and works now after the small change to UnitOfWork.Sort.

@jeremydmiller jeremydmiller merged commit 468d24e into JasperFx:master Jun 18, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants