Skip to content

feat: expose currently templated file path - #28

Merged
2ynn merged 1 commit into
mainfrom
feat/expose-current-outfile
Jun 6, 2026
Merged

feat: expose currently templated file path#28
2ynn merged 1 commit into
mainfrom
feat/expose-current-outfile

Conversation

@2ynn

@2ynn 2ynn commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

This PR allows templates to access the currently templated file path via context.OutFile

Example usecase: relative imports in pythonv2: https://github.com/speakeasy-api/openapi-generation/pull/4330

@2ynn
2ynn force-pushed the feat/expose-current-outfile branch from b67e63b to 36d106f Compare June 6, 2026 01:31
@2ynn
2ynn merged commit 504f1df into main Jun 6, 2026
2 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

Development

Successfully merging this pull request may close these issues.

2 participants