Skip to content

Conversation

ostheperson
Copy link

Fixes: #3139

  • Ensures types implementing both TextMarshaler and BinaryMarshaler are marshaled as text.
  • Also required reordering net.IP case to prevent string conversion due to added case.

* Ensures types implementing both TextMarshaler and BinaryMarshaler are marshaled as text.

* Also required reordering net.IP case to prevent string conversion due to added case.
* Ensures types implementing both TextMarshaler and BinaryMarshaler are marshaled as text.

* Also required reordering net.IP case to prevent string conversion due to added case.
@ndyakov
Copy link
Member

ndyakov commented Jul 24, 2025

Hello @ostheperson and thank you for the contribution. This looks like it should work, but has the possibility to be a breaking change for users that are currently using with a type implemented by both TextMarshaler and BinaryMarshaler. I will label it for the next major version.

@ostheperson
Copy link
Author

understood

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't get UUID with Scan()

2 participants