Skip to content

Conversation

@pablodelolmo
Copy link
Contributor

@pablodelolmo pablodelolmo commented Nov 6, 2025

The runtime function was incorrectly evaluating the vary parameter expecting an iterator, instead of the surrogateKey one. This was making the SDK to throw TypeError: can't convert undefined to object when doing this:

let [writer, reader] = cachedResponse.insertAndStreamBack({
    maxAge: 120000,
    surrogateKeys: ["test"],
});

It was incorrectly evaluating the vary parameter expecting an iterator, instead of the surrogateKey one.
@zkat zkat merged commit b0efe20 into fastly:main Nov 7, 2025
17 of 26 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