Skip to content

Remove duplicated code snippet from "Manually adding Envelope Mapping" section#2121

Merged
jeremydmiller merged 1 commit intoJasperFx:mainfrom
dmytro-pryvedeniuk:documentation-manually-adding-envelope-mapping
Feb 6, 2026
Merged

Remove duplicated code snippet from "Manually adding Envelope Mapping" section#2121
jeremydmiller merged 1 commit intoJasperFx:mainfrom
dmytro-pryvedeniuk:documentation-manually-adding-envelope-mapping

Conversation

@dmytro-pryvedeniuk
Copy link
Copy Markdown
Contributor

"Manually adding Envelope Mapping" section (see https://wolverinefx.net/guide/durability/efcore/outbox-and-inbox.html#manually-adding-envelope-mapping) contains 2 almost identical code snippets. The only difference is map.ToTable("items"); vs map.ToTable("items", "mt_items"); line.

Technically they are different sources sharing the same region - sample_mapping_envelope_storage_to_dbcontext but from documentation side they look like strange duplication.

To avoid confusion SampleMappedDbContext from PersistentTests project is removed. It's not actually used (as well as CleanDbContext there). Another SampleMappedDbContext class from EfCoreTests project remains as a valid code snippet.

@jeremydmiller
Copy link
Copy Markdown
Member

@dmytro-pryvedeniuk Thank you!

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