Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(reactivity): Pass oldValue to triggerRefValue to satisfy interface DebuggerEventExtraInfo #8210

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Azurewarth0920
Copy link

@Azurewarth0920 Azurewarth0920 commented May 2, 2023

fix: vuejs/pinia#2061

The DebuggerEventExtraInfo triggered by a computed ref doesn't have the field oldValue.

For consistency (consistent with reactive), added oldValue to debuggerEventExtraInfo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Needs Review
Development

Successfully merging this pull request may close these issues.

DevTools: Undefined value for oldValue in mutation event using Setup Stores
1 participant