When setting a property to an object that contains keys with the special "." character, OmniAural recognizes that as a key path and created a new nested property.
i.e.
initialState = {
account: {}
}
// Somewhere in the project
OmniAural.state.account.set({
"name":"John",
"id.tax":"12345",
"id.employee":"555"
})
The above will incorrectly cause the following structure to be created:
When setting a property to an object that contains keys with the special "." character, OmniAural recognizes that as a key path and created a new nested property.
i.e.
The above will incorrectly cause the following structure to be created:
Expected structure: