Update Weasel/JasperFx packages, add EF Core and projection tests#4193
Merged
jeremydmiller merged 5 commits intomasterfrom Mar 23, 2026
Merged
Update Weasel/JasperFx packages, add EF Core and projection tests#4193jeremydmiller merged 5 commits intomasterfrom
jeremydmiller merged 5 commits intomasterfrom
Conversation
Tests verify that GetEntityTypesForMigration returns entity types in topological order based on FK dependencies, and that schema migration applies without "relation does not exist" errors when tables have FK relationships. See #4180 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When EF Core entities have no explicit schema and are moved to Marten's schema, FK references must also point to Marten's schema. This test verifies the fix in Weasel's MoveToSchema method. See #4192 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Reproduces the user's scenario from Weasel issue #224 where a FlatTableProjection with a mixed-case table name and unique index fails with "relation already exists" on the second migration run. See JasperFx/weasel#224 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- JasperFx 1.21.1 → 1.21.3 - JasperFx.Events 1.24.0 → 1.24.1 - Weasel.Postgresql 8.9.1 → 8.10.1 - Weasel.EntityFrameworkCore 8.9.1 → 8.10.1 Weasel 8.10.1 includes fixes for: - Topological sort of EF Core entity types by FK dependencies (#4180) - MoveToSchema updating FK LinkedTable references (#4192) - Index detection for mixed-case table names (weasel#224) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60b5732 to
4fdcf49
Compare
This was referenced Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
operations.Store<T>()andCreatemethods are auto-registered (fixes DocumentStorage class is not generated when using an EventProjection with explicit code #4166)Test plan
🤖 Generated with Claude Code