-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds additional safeguards around writing state
If your action declares a state write that it does not apply, it will now error out. This is backwards compatible, as that was always considered undefined behavior, and bad practice. Note that this does not mess with deleting state in actions, as that is not declared in the writes() field. We will want to handle it later.
- Loading branch information
1 parent
2cee6e2
commit e244dab
Showing
2 changed files
with
121 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters