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: function mode serializer #203

Merged

Conversation

emeasure-github-private
Copy link
Contributor

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue n/a

Describe your change

Update FunctionModeSerializer to read name from the decoded JsonObject.

What problem is this fixing?

FunctionModeSerializer, when processing FunctionMode.Named, attempts to decode twice, which results in an exception. See included test, TestFunctionMode.

@aallam
Copy link
Owner

aallam commented Jun 24, 2023

Nice catch! thank you for your contribution!

@aallam aallam merged commit ab24fbc into aallam:main Jun 24, 2023
@emeasure-github-private
Copy link
Contributor Author

Thank you for the excellent library, and the quick merge!

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