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

Tell serialize fn if it's being used on arguments #284

Closed
wants to merge 1 commit into from

Conversation

Zenith00
Copy link

@Zenith00 Zenith00 commented Apr 22, 2024

Change:
Supplies a flag to the serialize fn if it's being used on arguments.

Reasoning:
Makes it easier for users to provide different logic for serializing arguments than results. I'd like to perform some custom logic on the argument serialization that doesn't apply to result serialization.

Just adding an argument here to maximize backwards compatibility. I think this is the simplest change to allow the above, though slightly more elegant options might be to supply separate functions, etc.

@Zenith00 Zenith00 closed this Apr 28, 2024
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.

1 participant