Cannot write through an object-rest excluded path
The message
MARKLESS_STATE_REST_ALIAS_EXCLUDED_PATH: Cannot write to "<source>" because "<excludedPathSource>" was excluded when "<aliasName>" was created.
Object rest destructuring creates an alias for the remaining graph paths only. Paths explicitly destructured out of the source object are not owned by the rest alias.
Write through the original graph path, or use the explicit destructured alias for the excluded property.
https://markless.dev/errors/MARKLESS_STATE_REST_ALIAS_EXCLUDED_PATHWords in angle brackets change from case to case.
Why
Object rest destructuring creates an alias for the remaining graph paths only. Paths explicitly destructured out of the source object are not owned by the rest alias.
Fix
Write through the original graph path, or use the explicit destructured alias for the excluded property.