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

Inconsistent behavior of JSON decoders for Schema.CaseClass* and Schema.GenericRecord #763

Open
plokhotnyuk opened this issue Jan 2, 2025 · 0 comments

Comments

@plokhotnyuk
Copy link
Contributor

plokhotnyuk commented Jan 2, 2025

Here is a table of differences or missing feature for both types of schemas, where + and - are used to mark support or missing support accordingly:

Issue Schema.CaseClass* Schema.GenericRecord Fix
Using of default values for "transient" (skip on write) fields + - #764
Detection of duplicated field/alias names + - #765
Use field name in an error for duplicated fields - - #768
Detection of missing fields + -
Use field/alias name in an optional error for extra fields - +
Using empty collection values for parsed JSON null + -
Using None values for parsed JSON null + -
Handling of different discriminator types + -
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

No branches or pull requests

1 participant