Skip to content

Fix Include named arg values being lost for nested includes#643

Merged
xoofx merged 1 commit intoscriban:masterfrom
meld-cp:include-named-args-being-removed
Mar 5, 2026
Merged

Fix Include named arg values being lost for nested includes#643
xoofx merged 1 commit intoscriban:masterfrom
meld-cp:include-named-args-being-removed

Conversation

@meld-cp
Copy link
Copy Markdown
Contributor

@meld-cp meld-cp commented Mar 5, 2026

Named argument values weren't being restored correctly if the same arg. name was being used for nested includes.

This PR includes a test case and a fix for the issue.

@meld-cp meld-cp marked this pull request as ready for review March 5, 2026 07:44
@xoofx
Copy link
Copy Markdown
Member

xoofx commented Mar 5, 2026

Yeah, it's a feature that I have never used so I'm not surprised that it has several issues. Thank you for investigating them.

@xoofx xoofx merged commit 79618a6 into scriban:master Mar 5, 2026
1 check passed
@meld-cp meld-cp deleted the include-named-args-being-removed branch March 5, 2026 07:49
@meld-cp
Copy link
Copy Markdown
Contributor Author

meld-cp commented Mar 5, 2026

Yeah, hopefully that's the last of the named arg issues 😅🤞, this one had me spinning for a bit ☺️

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