Skip to content

Adds @once directive as a validation check & extra test cases - #2

Merged
calebporzio merged 1 commit into
livewire:mainfrom
gcavanunez:gc/invalidate-once
Oct 7, 2025
Merged

Adds @once directive as a validation check & extra test cases#2
calebporzio merged 1 commit into
livewire:mainfrom
gcavanunez:gc/invalidate-once

Conversation

@gcavanunez

Copy link
Copy Markdown
Collaborator

Changes

  • since @once maintains state to track if code has run, we should check against them when validating
  • adds explicit test cases for the rest of the validations

@calebporzio

Copy link
Copy Markdown
Contributor

Ooooh good catch, and good PR. Thanks!

@calebporzio
calebporzio merged commit 65000c2 into livewire:main Oct 7, 2025
3 checks passed
@github-actions github-actions Bot mentioned this pull request Mar 3, 2026
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