Skip to content

Conversation

@kenany
Copy link
Member

@kenany kenany commented Jan 3, 2026

Move transform code into its own module, since it'll be needed for other services eventually, and ensure it handles Pydantic models like ExtraInfo.

Move transform code into its own module, since it'll be needed for other
services eventually, and ensure it handles Pydantic models like
`ExtraInfo`.
@kenany kenany self-assigned this Jan 3, 2026
@kenany kenany requested a review from a team as a code owner January 3, 2026 14:47
Copy link
Contributor

@lapinek lapinek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this is much better than my particular solution (happy to have identified the issue, though):

  • Separate transformation module
  • Recursive handling of nested structures!
  • Better use of model_dump parameters
  • Added test coverage 👍

@kenany kenany merged commit 1f3e470 into main Jan 5, 2026
8 checks passed
@kenany kenany deleted the kenany/serialize-pydantic branch January 5, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants