-
Notifications
You must be signed in to change notification settings - Fork 332
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
Editing value on provider throws eval error #3003
Comments
This comment has been minimized.
This comment has been minimized.
Oh, I found the problem. It's because class EmailStore with ChangeNotifier rather than: class EmailStore extends ChangeNotifier That messes up with the informations about where With mixins,
rather than:
That's a problem because since it is a private property, the eval needs to use the library that defines the property for the mutation to work. So it's behaving as if I don't think this can be fixed. At least not without vm_service giving us the correct uri. |
Mixins also are a source of problem with #3006 / #3004 by the way, for the same reasons. #3006 relies on checking whether the property's owner URI matches with the name of the inspected application. |
Until we get the mixin issues sorted out how about we disable edits on private properties to be safe. I'd also be happy with disabling edits on all properties by default and only showing it as "experimental: edit property values" in the settings page. |
Now that the Provider panel is a DevTools extension, I'm closing this issue in favor of rrousselGit/provider#883. |
Repro steps:
@rrousselGit @jacob314
The text was updated successfully, but these errors were encountered: