Skip to content

Update Weasel/JasperFx packages, add EF Core and projection tests#4193

Merged
jeremydmiller merged 5 commits intomasterfrom
claude/optimistic-shamir
Mar 23, 2026
Merged

Update Weasel/JasperFx packages, add EF Core and projection tests#4193
jeremydmiller merged 5 commits intomasterfrom
claude/optimistic-shamir

Conversation

@jeremydmiller
Copy link
Copy Markdown
Member

Summary

Test plan

  • CoreTests: 295 passed, 0 failed, 1 skipped
  • Marten.EntityFrameworkCore.Tests: 36 passed, 0 failed

🤖 Generated with Claude Code

jeremydmiller and others added 5 commits March 23, 2026 11:30
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>
…4166)

Tests verify that document types used in operations.Store<T>() within
an explicit ApplyAsync override, and return types from Create methods,
are automatically registered as published types by the source generator.

See #4166

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant