next.js
Disallow multiple server directives at the same level (file or function)
#73018
Merged

Disallow multiple server directives at the same level (file or function) #73018

unstubbable
ijjk ijjk added created-by: Next.js team
ijjk ijjk added Turbopack
ijjk
ijjk
unstubbable unstubbable force pushed from f7442aa6 to a532cf3e 1 year ago
unstubbable unstubbable marked this pull request as ready for review 1 year ago
unstubbable unstubbable force pushed from 4bf7dc83 to 1fc58181 1 year ago
unstubbable
unstubbable unstubbable force pushed from 1fc58181 to ca1e8bb9 1 year ago
unstubbable unstubbable requested a review from lubieowoce lubieowoce 1 year ago
lubieowoce
lubieowoce commented on 2024-11-22
unstubbable unstubbable force pushed from ca1e8bb9 to 040eab80 1 year ago
unstubbable unstubbable force pushed from 040eab80 to 04e715ed 1 year ago
unstubbable Disallow multiple server directives at the same level (file or function)
bd683df8
unstubbable Extract `get_directive_for_stmt` function
2f4f587e
unstubbable Use `get_directive_for_stmt` for module directives
d79dea9c
unstubbable Add test fixtures for directive in parantheses check
3da4aa6a
unstubbable Add test fixtures for conflicting directives
559dc5c7
unstubbable Remove unnecessary dereferences
9bda36d5
unstubbable Use a `DirectiveVisitor` struct to encapsulate stmt iteration state
a78a3ff7
unstubbable Use a boolean instead of passing `&self.file_directive`
fd5dc5f4
unstubbable unstubbable force pushed from 04e715ed to fd5dc5f4 1 year ago
lubieowoce
lubieowoce approved these changes on 2024-11-22
unstubbable unstubbable merged 04adb764 into canary 1 year ago
unstubbable unstubbable deleted the hl/disallow-multiple-directives-at-same-level branch 1 year ago
github-actions github-actions added locked
github-actions github-actions locked as resolved and limited conversation to collaborators 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone