Skip to content

Drop the polyfill for native workspace APIs - #16

Draft
grouville wants to merge 1 commit into
dagger:mainfrom
grouville:polyfill-removal
Draft

Drop the polyfill for native workspace APIs#16
grouville wants to merge 1 commit into
dagger:mainfrom
grouville:polyfill-removal

Conversation

@grouville

@grouville grouville commented Aug 7, 2026

Copy link
Copy Markdown
Member

The TypeScript SDK no longer needs dagger/polyfill.

It reads managed modules from currentModule.asSDK(workspace: ws).modules, then folds module and client generation directly onto the supplied workspace. ModuleSource.generate(workspace) handles dependency bindings internally and applies only each requested module's generated files, so dependency-owned or unrelated files do not leak into the result.

The SDK calls .changes once at the end; the engine owns the generator baseline and cwd-relative paths.

Test

dagger check e-2-e

Signed-off-by: Guillaume de Rouville <guillaume@dagger.io>
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