-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
fix(runtime-core): allow spying on proxy methods regression #5415 #4216 #5417
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
Changes from all commits
4f55feb
0d6f333
04adf7a
3aa7932
2e2fdfb
834965a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -455,8 +455,9 @@ export const PublicInstanceProxyHandlers: ProxyHandler<any> = { | |
descriptor: PropertyDescriptor | ||
) { | ||
if (descriptor.get != null) { | ||
this.set!(target, key, descriptor.get(), null) | ||
} else if (descriptor.value != null) { | ||
// invalidate key cache of a getter based property #5417 | ||
target.$.accessCache[key] = 0; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. quasarframework/quasar#13154 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In our case (Quasars q-input component) the problem is, that The error message was:
|
||
} else if (hasOwn(descriptor,'value')) { | ||
this.set!(target, key, descriptor.value, null) | ||
} | ||
return Reflect.defineProperty(target, key, descriptor) | ||
|
Uh oh!
There was an error while loading. Please reload this page.