Skip to content

feat: C# 14 extension Updatable/Adapt companions (v0.8.1) - #62

Merged
ycherkes merged 18 commits into
mainfrom
feat/csharp14-extension-companions-v0-8-1
Nov 3, 2026
Merged

ycherkes merged 18 commits into
mainfrom
feat/csharp14-extension-companions-v0-8-1

Conversation

@ycherkes

@ycherkes ycherkes commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Enable [Updatable] on C# 14 instance extension methods, reusing the classic update emitter with the extension receiver as the source argument.
  • Enable [Adapt] on C# 14 instance extension methods, including explicit map/expression/update flags and existing adaptation validation.
  • Preserve projection-only semantics for C# 14 getter-only extension properties and unsupported-form diagnostics.
  • Bump package version from 0.8.0 to 0.8.1 and refresh all 51 generated-source snapshots.
  • Update README, extension compatibility matrix, AI-agent skill references and proposed 0.8.1 release notes.

Tests

  • Generator compile/runtime test: projection, update and adaptation on one C# 14 instance extension method; destination preservation.
  • Negative regression: value-type update reports AM0001.
  • Integration test: generated update and adapted map/update/projection plus EF Core SQLite projection.
  • Packaged Roslyn 5+ consumer exercises new APIs; classic Roslyn 4.x consumer remains compatible.

Validation

GitHub Actions: PASS — Build NuGet package #41724444267.

  • Restore, Release build and full test suite: pass.
  • NuGet package verification and packaging: pass.
  • Actual Roslyn compiler compatibility checks (4.8, 4.14, 5.0 and SDK 5.9): pass.
  • Package-consumer runtime verification: pass.
  • No local .NET SDK was available; validations ran in GitHub Actions.

Scope

C# 14 extension properties remain projection-only. No generic/block-bodied extension member support, no NuGet publication or tagging. Leave open for owner review and approval; do not auto-merge.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T21:45:52.133680Z 134e316 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ycherkes
ycherkes merged commit a92b98a into main Nov 3, 2026
1 check passed
@ycherkes
ycherkes deleted the feat/csharp14-extension-companions-v0-8-1 branch November 3, 2026 21:58
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.

1 participant