Skip to content

Conversation

dmdashenkov
Copy link
Contributor

Previously, the (set_once) constraint in entities was ignored. Since this PR, we will check entity state changes and produce ConstraintViolated system event if an entity state change violates a (set_once) constraint.

@dmdashenkov dmdashenkov self-assigned this Apr 27, 2020
@codecov
Copy link

codecov bot commented Apr 27, 2020

Codecov Report

Merging #1268 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #1268      +/-   ##
============================================
+ Coverage     91.06%   91.07%   +0.01%     
+ Complexity     4668     4667       -1     
============================================
  Files           597      597              
  Lines         14801    14801              
  Branches        843      842       -1     
============================================
+ Hits          13478    13480       +2     
+ Misses         1062     1061       -1     
+ Partials        261      260       -1     

@dmdashenkov dmdashenkov requested a review from armiol April 27, 2020 18:58
@dmdashenkov
Copy link
Contributor Author

@armiol, PTAL.

@dmdashenkov dmdashenkov merged commit f301919 into master Apr 27, 2020
@dmdashenkov dmdashenkov deleted the set-once-in-entities branch April 27, 2020 19:02
@dmitrykuzmin dmitrykuzmin mentioned this pull request Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants