Skip to content

v3.0.2#67

Merged
chullybun merged 2 commits into
mainfrom
v3.0.2
May 20, 2026
Merged

v3.0.2#67
chullybun merged 2 commits into
mainfrom
v3.0.2

Conversation

@chullybun
Copy link
Copy Markdown
Collaborator

  • Fixed: The SQL Server outbox stored procedures, where applicable, have had redundant, dead code, removed.
  • Fixed: Add name of entry assembly to the generated code file header comments to provide better visibility of generation source process.

- *Fixed:* The SQL Server outbox stored procedures, where applicable, have had redundant, dead code, removed.
- *Fixed:* Add name of entry assembly to the generated code file header comments to provide better visibility of generation source process.
Copilot AI review requested due to automatic review settings May 20, 2026 20:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR bumps the package to v3.0.2 and updates the code-generation outputs/templates to (1) include the initiating entry-assembly name in generated file headers, and (2) remove redundant/dead code from the SQL Server outbox stored procedures.

Changes:

  • Added CodeGenName to the code-gen configuration and flowed it into C#/SQL/PG generated header comments for traceability.
  • Removed unused SQL Server outbox procedure logic (e.g., deleted OUTPUT-to-table variables in batch complete/cancel).
  • Updated config metadata/descriptions and regenerated the JSON schema and changelog/version metadata.

Reviewed changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
tests/DbEx.Test.Empty/Repositories/TestDbContext.g.cs Generated header now includes code-gen entry assembly name.
tests/DbEx.Test.Empty/Persistence/Person.g.cs Generated header now includes code-gen entry assembly name.
tests/DbEx.Test.Empty/Persistence/Contact.g.cs Generated header now includes code-gen entry assembly name.
tests/DbEx.Test.Console/Schema/Stored Procedures/spOutboxLeaseRelease.g.sql Generated header updated; doc text adjusted.
tests/DbEx.Test.Console/Schema/Stored Procedures/spOutboxLeaseAcquire.g.sql Generated header updated; doc text adjusted.
tests/DbEx.Test.Console/Schema/Stored Procedures/spOutboxEnqueue.g.sql Generated header updated.
tests/DbEx.Test.Console/Schema/Stored Procedures/spOutboxBatchComplete.g.sql Removed redundant variables/OUTPUT capture; header updated.
tests/DbEx.Test.Console/Schema/Stored Procedures/spOutboxBatchClaim.g.sql Generated header updated.
tests/DbEx.Test.Console/Schema/Stored Procedures/spOutboxBatchCancel.g.sql Removed redundant variables/OUTPUT capture; header updated.
src/DbEx/Templates/EfModelBuilder_cs.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx/Templates/EfModel_cs.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx/CodeGen/Config/TableConfig.cs Refined config metadata text and added regions; reordered properties.
src/DbEx/CodeGen/Config/ColumnConfig.cs Refined config metadata text and added regions.
src/DbEx/CodeGen/Config/CodeGenConfig.cs Introduced CodeGenName; reorganized config regions and updated descriptions.
src/DbEx.SqlServer/Templates/SpOutboxLeaseRelease_sql.hbs Template header now includes {{Root.CodeGenName}}; doc text adjusted.
src/DbEx.SqlServer/Templates/SpOutboxLeaseAcquire_sql.hbs Template header now includes {{Root.CodeGenName}}; doc text adjusted.
src/DbEx.SqlServer/Templates/SpOutboxEnqueue_sql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.SqlServer/Templates/SpOutboxBatchComplete_sql.hbs Removed redundant variables/OUTPUT capture; header updated.
src/DbEx.SqlServer/Templates/SpOutboxBatchClaim_sql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.SqlServer/Templates/spOutboxBatchCancel_sql.hbs Removed redundant variables/OUTPUT capture; header updated.
src/DbEx.Postgres/Templates/FnOutboxLeaseRelease_pgsql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.Postgres/Templates/FnOutboxLeaseAcquire_pgsql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.Postgres/Templates/FnOutboxEnqueue_pgsql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.Postgres/Templates/FnOutboxBatchComplete_pgsql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.Postgres/Templates/FnOutboxBatchClaim_pgsql.hbs Template header now includes {{Root.CodeGenName}}.
src/DbEx.Postgres/Templates/FnOutboxBatchCancel_pgsql.hbs Template header now includes {{Root.CodeGenName}}.
schema/dbex.json Regenerated schema reflecting updated descriptions.
Common.targets Version bumped from 3.0.1 to 3.0.2.
CHANGELOG.md Added v3.0.2 changelog entry.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/DbEx/CodeGen/Config/CodeGenConfig.cs Outdated
Comment thread src/DbEx/CodeGen/Config/CodeGenConfig.cs Outdated
Comment thread src/DbEx.SqlServer/Templates/SpOutboxBatchClaim_sql.hbs
Comment thread src/DbEx.SqlServer/Templates/SpOutboxBatchComplete_sql.hbs
Comment thread CHANGELOG.md
Comment thread src/DbEx/CodeGen/Config/CodeGenConfig.cs Outdated
@chullybun chullybun merged commit 47f5907 into main May 20, 2026
3 of 4 checks passed
@chullybun chullybun deleted the v3.0.2 branch May 20, 2026 21:10
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