Skip to content

Document scope of Proxy-backed file address resolution#399

Merged
GrahamCampbell merged 1 commit into
3.xfrom
document-proxy-resolution-scope
Jun 12, 2026
Merged

Document scope of Proxy-backed file address resolution#399
GrahamCampbell merged 1 commit into
3.xfrom
document-proxy-resolution-scope

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Contributor

Follow-up to #396. The new paragraph in the variables guide explains how proxy-backed values are handled during file address resolution, but it doesn't say that this behaviour is specific to addressing through file(...) itself. If the same value is embedded into the configuration and then reached via ${self:...}, or dug into with serverless print --path, traversal still follows own properties only, so a virtual property served by a proxy's get handler won't be found there. This adds a sentence making that boundary explicit, so nobody reads the paragraph as a general guarantee about every way of addressing into a value that originated from a JS file.

@GrahamCampbell GrahamCampbell merged commit a97f3de into 3.x Jun 12, 2026
8 checks passed
@GrahamCampbell GrahamCampbell deleted the document-proxy-resolution-scope branch June 12, 2026 20:16
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