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

Fix decode encoding.TextUnmarshaler slice #221

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bozaro
Copy link

@bozaro bozaro commented Sep 18, 2024

Fixes decoding encoding.TextUnmarshaler slice

This change is useful for decoding types like type ObjectID [12]byte (https://github.com/mongodb/mongo-go-driver/blob/2a0310912fc03388a3a38f504619758765d1be15/bson/objectid.go#L28-L29)

Same as #132, #180

@jaitaiwan
Copy link
Member

At first glance, some of the changes don't make a whole lot of sense to me. I'll try to come back and review when I'm less tired.

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