You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor Category to use dedicated dist serializers (#563)
### TL;DR
Follow up to #531: moves category serialization logic into dedicated serializer classes for JSON and TXT formats.
### What changed?
- Created new `JsonSerializer` and `TxtSerializer` classes for category serialization
- Moved JSON serialization methods from `Category` model to `JsonSerializer`
- Moved TXT serialization methods from `Category` model to `TxtSerializer`
- Updated `GenerateDistCommand` to use the new serializer classes
- Added corresponding test files for both serializers
0 commit comments