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 decoding of JsonSchema properties from JSON #3287

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

plokhotnyuk
Copy link
Contributor

No description provided.

@plokhotnyuk plokhotnyuk force-pushed the fix-decoding-of-fallbacks-from-json branch from fc28656 to 3b1de8a Compare February 1, 2025 15:25
@guizmaii
Copy link
Member

guizmaii commented Feb 2, 2025

@plokhotnyuk What does this fix? 🤔

@plokhotnyuk
Copy link
Contributor Author

plokhotnyuk commented Feb 3, 2025

@plokhotnyuk What does this fix? 🤔

It is a kind of workaround that reverts a quite legal optimization for decoding of boolean values. But some deeper issue still exits. It is about how RecordingReader works in zio-json and how it is used in zio-schema-json to parse Fallback and Enum values. I'm going to find and fix its root cause this week.

@987Nabil 987Nabil merged commit 307ca54 into zio:main Feb 3, 2025
67 of 71 checks passed
@plokhotnyuk plokhotnyuk deleted the fix-decoding-of-fallbacks-from-json branch February 3, 2025 14:32
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.

3 participants