Skip to content

Fix for #4185: duplicate codegen for secondary store impl#4209

Merged
jeremydmiller merged 2 commits intoJasperFx:masterfrom
erdtsieck:bugfix/4185-duplicate-codegen-for-secondary-store-impl
Mar 27, 2026
Merged

Fix for #4185: duplicate codegen for secondary store impl#4209
jeremydmiller merged 2 commits intoJasperFx:masterfrom
erdtsieck:bugfix/4185-duplicate-codegen-for-secondary-store-impl

Conversation

@erdtsieck
Copy link
Copy Markdown
Contributor

@erdtsieck erdtsieck commented Mar 27, 2026

Might also fix #4186
But proof that it fixes #4185

erdtsieck and others added 2 commits March 27, 2026 11:22
…tore impl

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…Config.Build()

CreateGenerationRules() appends StoreName to the output path, but
SecondaryDocumentStores.Rules (used by codegen write) strips it via
ParentDirectory(). This mismatch caused the same store implementation
class to be written to two different directories with the same namespace,
resulting in CS0101 duplicate type errors with TypeLoadMode.Static.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erdtsieck erdtsieck changed the title Add failing test for #4185: duplicate codegen for secondary store impl Fix for #4185: duplicate codegen for secondary store impl Mar 27, 2026
@jeremydmiller jeremydmiller merged commit d8feb15 into JasperFx:master Mar 27, 2026
6 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

2 participants