Skip to content

Commit

Permalink
Merge pull request #204 from mmikita95/bugfix-198
Browse files Browse the repository at this point in the history
Fix: Use escaped keys in StateProxy serialization
  • Loading branch information
ramedina86 authored Jan 24, 2024
2 parents 347850b + 6ea69b7 commit c1ba611
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streamsync/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def get_mutations_as_dict(self) -> Dict[str, Any]:
serialised_value = None
if isinstance(value, StateProxy):
if value.initial_assignment:
serialised_mutations[key] = serialised_value
serialised_mutations[escaped_key] = serialised_value
value.initial_assignment = False
child_mutations = value.get_mutations_as_dict()
if child_mutations is None:
Expand Down

0 comments on commit c1ba611

Please sign in to comment.