Skip to content

Conversation

@grosser
Copy link
Contributor

@grosser grosser commented Jun 5, 2024

only gotcha I saw could be Metadata which use to return a copy of the metadata and now returns the metadata of the version so if anyone used that and then modified it they'd get unexpected results
docs say // Metadata returns the metadata on the version. which is still correct 🤷
... so lmk if you want to return a copy of the metadata or keep as is

fixes #237

@grosser grosser force-pushed the grosser/pointer branch from 6eff27a to 91c6e39 Compare June 5, 2024 04:26
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.

Struct Version has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation

1 participant