Skip to content

Conversation

blast-hardcheese
Copy link
Contributor

What changed and Why

  • parse_object_as has been deprecated for some time, upgrading
  • Swap model_dump for dump_python, which should also handle primitive types.

Test plan

Opening the generated files should report no (useful) warnings and errors in the LSP

@blast-hardcheese blast-hardcheese merged commit d6cd4b9 into main Aug 9, 2024
3 checks passed
@blast-hardcheese blast-hardcheese deleted the dstewart/serde-tweaks branch August 9, 2024 20:29
@blast-hardcheese blast-hardcheese added the bug Something isn't working label Aug 9, 2024
blast-hardcheese added a commit that referenced this pull request Aug 9, 2024
Why
===

I didn't realize we didn't have codegen execution tests, I'll be more
careful in the future.

What changed
============

Fixed two runtime issues

Test plan
=========

Manual testing
@blast-hardcheese blast-hardcheese added chore and removed bug Something isn't working labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants