Skip to content

Support encoding UUID subclasses - #429

Merged
jcrist merged 1 commit into
mainfrom
encode-uuid-subclasses
Jun 6, 2023
Merged

Support encoding UUID subclasses#429
jcrist merged 1 commit into
mainfrom
encode-uuid-subclasses

Conversation

@jcrist

@jcrist jcrist commented Jun 6, 2023

Copy link
Copy Markdown
Member

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