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

53 Conditional Serializer #57

Merged
merged 3 commits into from
Oct 4, 2024
Merged

53 Conditional Serializer #57

merged 3 commits into from
Oct 4, 2024

Conversation

lojack5
Copy link
Owner

@lojack5 lojack5 commented Oct 4, 2024

Implements the ConditionalSerializer and hint type Condition

Closes #53

- a little bit easier to think about now
- allows for multiple transformations to be applied to a type-hint
- Hint used to only pack/unpack a variable when a condition is met
- Unions can't quite accomplish this correctly
@lojack5 lojack5 added the enhancement New feature or request label Oct 4, 2024
@lojack5 lojack5 self-assigned this Oct 4, 2024
@lojack5 lojack5 merged commit 3a4f754 into main Oct 4, 2024
12 checks passed
@lojack5 lojack5 deleted the 53-conditional_serializer branch October 4, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Conditional variables
1 participant