Skip to content

Improve error message for immutable desired state #37

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

Open
eduardomourar opened this issue Jan 13, 2021 · 0 comments
Open

Improve error message for immutable desired state #37

eduardomourar opened this issue Jan 13, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@eduardomourar
Copy link
Contributor

If you try to change a property of the desired state (which is immutable), you will get the following JavaScript default message:

Cannot assign to read only property 'arn' of object '#'

We should tell the developer to instantiate a new Resource Model, instead.

@eduardomourar eduardomourar added the enhancement New feature or request label Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant