Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support encoding UUID subclasses #429

Merged
merged 1 commit into from
Jun 6, 2023
Merged

Support encoding UUID subclasses #429

merged 1 commit into from
Jun 6, 2023

Conversation

jcrist
Copy link
Owner

@jcrist jcrist commented Jun 6, 2023

This lets msgspec work out-of-the-box with asyncpg.pgproto.pgproto.UUID types, rather than requiring these be handled with enc_hook.

Fixes #428.

This lets msgspec work out-of-the-box with
`asyncpg.pgproto.pgproto.UUID` types, rather than requiring these be
handled with `enc_hook`.
@jcrist jcrist merged commit c45f260 into main Jun 6, 2023
@jcrist jcrist deleted the encode-uuid-subclasses branch June 6, 2023 04:07
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.

Support encoding asyncpg UUID types
1 participant