aws-cloudformation / aws-cloudformation/cloudformation-cli-typescript-plugin
Improve error message for immutable desired state
- Dominant language
- TypeScript
- Stars
- 46
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Research direction
Search the repository for the immutable desired-state handling and the current "Cannot assign to read only property" message, then trace how ResourceModel instances are created. Update the resulting error guidance to tell developers to instantiate a new Resource Model and verify that the revised message appears for an attempted property change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, typescript
- Domain
- cloud, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100