Skip to content

Conversation

jefflinse
Copy link

Summary

When storing TypeIDs in Postgres as compound types, Postgres will return a TypeID value for a column in the format "(prefix,uuid)". This change enables the Scan() method to detect this format and correctly deserialize it into a TypeID.

How was it tested?

  • Added a unit test to verify the ability to parse this format.

Community Contribution License

All community contributions in this pull request are licensed to the project maintainers under the terms of the Apache 2 License.

By creating this pull request I represent that I have the right to license the contributions to the project maintainers under the Apache 2 License as stated in the Community Contribution License.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant