Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[fix] str | None type in from_str_or_bytes_to_any #24

Conversation

nmarusov
Copy link

Incorrect processing from_str_or_bytes_to_any in case of field_type=str | None and value holding real string. Look for str in field_type, return value if such str is present.

@Tinitto
Copy link
Contributor

Tinitto commented Jul 29, 2023

Niceeeeee! Looks like the tests are failing, though.

@Tinitto Tinitto changed the base branch from master to hotfix/json-decode-error-on-optional-str-fields February 10, 2024 07:54
@Tinitto Tinitto merged commit b9d4cd0 into sopherapps:hotfix/json-decode-error-on-optional-str-fields Feb 10, 2024
@Tinitto Tinitto mentioned this pull request Feb 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants