-
Notifications
You must be signed in to change notification settings - Fork 386
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
Mutating @api array results in a confusing error message #1739
Comments
This issue has been linked to a new work item: W-7262124 |
@apapko The error message can't contain the mutate object name since the object name is bound to the current context scope. This information is not available from the ReadOnly proxy. The best thing we can do here is to print the original target type instead of coercing the original target name to string.
|
@pmdartus i find the |
We will need to open a new API on the |
I might be able to help here, we do similar stuff in the membrane for locker. Let's chat about it. |
Description
Steps to Reproduce
https://developer.salesforce.com/docs/component-library/tools/playground/IaX_i6WN/3/edit
Actual Result:
Error: Invalid mutation: Cannot set "0" on "". "" is read-only.
Expected:
Error: Invalid operation. The 'objects' property is read-only.
The text was updated successfully, but these errors were encountered: