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

Thread bindnode options through convenience calls #572

Merged
merged 1 commit into from
Sep 14, 2024

Conversation

hannahhoward
Copy link
Collaborator

Goals

a user of the codec helpers might want to be able to use custom bindnode options to assist in Mashalling/Unmarshalling their types

Implemention

Add opts ...bindnode.Options as parameter to various helpers and pass it through to the underlying bindnode functions.

For discussion

Pretty sure it's fine but passing bindnode options to both prototype call and wrap call in UnmarshalStreaming could have unintended effects? Not sure which is should properly go to though.

a user of the codec helpers might want to be able to use custom bindnode options to assist in
Mashalling/Unmarshalling their tyoes
@hannahhoward hannahhoward merged commit f75d95e into master Sep 14, 2024
13 checks passed
@hannahhoward hannahhoward deleted the feat/pass-options branch September 14, 2024 15:11
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.

2 participants