Skip to content

chore(rsc): update example to exclude undeclared caller arguments for use cache cache keys (file directive only) - #1401

Merged
hi-ogawa merged 11 commits into
mainfrom
fix/issue-1392
Aug 5, 2026
Merged

chore(rsc): update example to exclude undeclared caller arguments for use cache cache keys (file directive only)#1401
hi-ogawa merged 11 commits into
mainfrom
fix/issue-1392

Conversation

@hi-ogawa

@hi-ogawa hi-ogawa commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This PR updates the callable "use cache" example to derive a fixed argument count from transformWrapExport's existing valueNode metadata to implement similar mechanism as vercel/next.js#72506.

hi-ogawa and others added 2 commits August 5, 2026 12:53
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
@hi-ogawa hi-ogawa changed the title feat(rsc): admit declared use cache arguments chore(rsc): exclude undeclared caller arguments from "use cache" file directive example Aug 5, 2026
@hi-ogawa hi-ogawa changed the title chore(rsc): exclude undeclared caller arguments from "use cache" file directive example chore(rsc): update example to exclude undeclared caller arguments for use cache file directive Aug 5, 2026
@hi-ogawa hi-ogawa changed the title chore(rsc): update example to exclude undeclared caller arguments for use cache file directive chore(rsc): update example to exclude undeclared caller arguments for use cache cache keys (file directive) Aug 5, 2026
Co-authored-by: OpenCode <noreply@opencode.ai>
@hi-ogawa hi-ogawa changed the title chore(rsc): update example to exclude undeclared caller arguments for use cache cache keys (file directive) chore(rsc): update example to exclude undeclared caller arguments for use cache cache keys (file directive only) Aug 5, 2026
hi-ogawa and others added 7 commits August 5, 2026 13:53
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
@hi-ogawa
hi-ogawa marked this pull request as ready for review August 5, 2026 05:32
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