-
-
Notifications
You must be signed in to change notification settings - Fork 6
Tables should not always merge #12
Comments
@suchasaltylemon could you provide a snippet/scenario where you might not want tables to merge? BasicState treats its internal state as immutable, and you should be accessing and manipulating state using the getters/setters. The idea behind the merge functionality of |
@csqrl my mistake, i meant to be referring to the |
@csqrl after having rechecked the behaviour I have found that the merge behaviour still does exist when calling Unless I am misunderstanding how/when to use BasicState, I believe that always merging tables can have some problems. Also, apologies for closing this issue, I had somehow convinced myself that an older commit was the current version. |
When using
Set()
, you do not always want tables to merge. This restricts the data that can be stored, only allowing for extending a table, which is not always the desired behaviour.The text was updated successfully, but these errors were encountered: