Skip to content

fix(codegen): skip same-type augmentation#3

Draft
dkattan wants to merge 14 commits into
feat/generated-contract-shape-nullabilityfrom
fix/generated-contract-augmentation
Draft

fix(codegen): skip same-type augmentation#3
dkattan wants to merge 14 commits into
feat/generated-contract-shape-nullabilityfrom
fix/generated-contract-augmentation

Conversation

@dkattan
Copy link
Copy Markdown

@dkattan dkattan commented May 11, 2026

Summary

  • stop augmenting same-project class shapes when they target the source type itself
  • keep interface and renamed class shape augmentation working
  • add a regression test for response contract regeneration in the same project

Docs

  • Contributor docs impact: same-project augmentation is an internal follow-up to generated contract shapes; no standalone public docs page is needed beyond the stack note.

@dkattan dkattan force-pushed the feat/generated-contract-shape-nullability branch from 56772cc to ec8aec9 Compare May 11, 2026 17:06
@dkattan dkattan force-pushed the fix/generated-contract-augmentation branch 2 times, most recently from 8e51e43 to b5cc40a Compare May 11, 2026 17:13
dkattan and others added 3 commits May 11, 2026 13:31
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dkattan dkattan force-pushed the feat/generated-contract-shape-nullability branch from 84a0f0f to 177f5a4 Compare May 11, 2026 18:33
@dkattan dkattan force-pushed the fix/generated-contract-augmentation branch from b5cc40a to 18c6c7d Compare May 11, 2026 18:33
dkattan and others added 11 commits May 11, 2026 23:13
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- scope Microsoft.Build package pins to the task project
- skip rebuilding the task assembly during pack --no-build
- pack the CodeGeneration.Vue deps json with task assets
- skip rebuilding task assembly during pack --no-build in dotnet-link shim
- add policy-based UTC response DateTime naming/conversion
- generate content-view-specific response DTOs and action return types
- enforce fixed includes for typed action response endpoints
- cover flattened collection read-shapes in codegen tests
- add ResponseDtoClassName model knob for generated responses
- apply custom response names to content-view response variants
- ignore missing generated API surface diagnostics during snapshot bootstrap
- cover named content-view responses in codegen tests
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