Group all migration events into one row migrate:vN (if version changed) OR migrate:msgspec
- Log as a single event - Logging config has debug parameter to lower level to DEBUG, showing migration diffs
This commit is contained in:
+3
-2
@@ -76,8 +76,9 @@ history.
|
||||
- In-memory data is defined by an application `msgspec.Struct` type.
|
||||
- Kanta round-trips through plain builtins for persistence and diffing.
|
||||
- Dict keys are serialized as strings (`str_keys=True`) for stable JSON form.
|
||||
- Normalization changes introduced by struct decode/encode are logged as
|
||||
`migrate:msgspec` when they produce a diff.
|
||||
- Normalization changes introduced by struct decode/encode are logged together
|
||||
with migrations as `migrate:vN`, or as `migrate:msgspec` when no migration
|
||||
ran but normalization still produces a diff.
|
||||
|
||||
## Transaction Semantics
|
||||
|
||||
|
||||
Reference in New Issue
Block a user