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: Also support h_GAS with lower case h in custom JSON converters #529

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

hf-kklein
Copy link
Collaborator

fixes
System.Text.Json.JsonException: Invalid value for System.Nullable`1[BO4E.ENUM.Gasqualitaet]: h_GAS
at BO4E.meta.LenientConverters.SystemTextGasqualitaetStringEnumConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in D:\a\BO4E-dotnet\BO4E-dotnet\BO4E\meta\LenientConverters\GasqualitaetStringEnumConverter.cs:line 29

fixes
System.Text.Json.JsonException: Invalid value for System.Nullable`1[BO4E.ENUM.Gasqualitaet]: h_GAS
   at BO4E.meta.LenientConverters.SystemTextGasqualitaetStringEnumConverter.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) in D:\a\BO4E-dotnet\BO4E-dotnet\BO4E\meta\LenientConverters\GasqualitaetStringEnumConverter.cs:line 29
@hf-kklein hf-kklein changed the title fix: Also supporth_GAS with lower case h in custom JSON converters fix: Also support h_GAS with lower case h in custom JSON converters Sep 23, 2024
@hf-kklein hf-kklein self-assigned this Sep 23, 2024
@hf-kklein hf-kklein enabled auto-merge (squash) September 23, 2024 10:05
@hf-kklein hf-kklein merged commit 7cd7e2a into main Sep 23, 2024
9 checks passed
@hf-kklein hf-kklein deleted the h_gas branch September 23, 2024 10:05
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.

2 participants