Skip to content

feat(rsc): allow proxy export filter by node ast - #1397

Merged
hi-ogawa merged 25 commits into
mainfrom
fix/issue-1391
Aug 5, 2026
Merged

feat(rsc): allow proxy export filter by node ast#1397
hi-ogawa merged 25 commits into
mainfrom
fix/issue-1391

Conversation

@hi-ogawa

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

Copy link
Copy Markdown
Contributor

This is transformDirectiveProxyExport version of #1385 to handle cases where use cache with object/array literal imported directly from client component. Again this is arguably next.js quirks, but this can be naturally done by pure refactoring of transformDirectiveProxyExport to switch to use the same scanModuleExports infra.

hi-ogawa and others added 10 commits August 5, 2026 09:16
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>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Co-authored-by: OpenCode <noreply@opencode.ai>
Comment on lines +372 to +373
export const objectValue = {}
export const arrayValue = []

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor drive-by naming clarification + alignment.

hi-ogawa and others added 4 commits August 5, 2026 10:04
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 and others added 11 commits August 5, 2026 10:23
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>
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 03:13
@hi-ogawa
hi-ogawa merged commit 2fee299 into main Aug 5, 2026
22 checks passed
@hi-ogawa
hi-ogawa deleted the fix/issue-1391 branch August 5, 2026 03:22
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.

Support ast-node-based filter in transformDirectiveProxyExport

1 participant