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: use serde_json in context value parsing #103

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Conversation

elcharitas
Copy link
Member

@elcharitas elcharitas commented Jun 4, 2024

This PR should ease out how context values are created and retrieved by making use of serde.

Using serde has a few benefits:

  • default support for bool, string, int types
  • provided derive macros to apply on structs

@elcharitas elcharitas marked this pull request as ready for review June 4, 2024 11:56
@elcharitas elcharitas merged commit a9d20f9 into dev Jun 4, 2024
4 checks passed
@elcharitas elcharitas deleted the fix/context-value branch June 4, 2024 12:42
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