Skip to content

Commit

Permalink
fix(api): Re-enable reflection based JSON serialization
Browse files Browse the repository at this point in the history
Reflection based serialization is disabled when running the API outside of tests, see domaindrivendev/Swashbuckle.AspNetCore#2550
  • Loading branch information
VMelnalksnis committed Feb 3, 2024
1 parent 8fa54cb commit ed54f5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Gnomeshade.WebApi/Gnomeshade.WebApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<SuppressTrimAnalysisWarnings>true</SuppressTrimAnalysisWarnings>
<InvariantGlobalization>true</InvariantGlobalization>
<EnableConfigurationBindingGenerator>false</EnableConfigurationBindingGenerator>
<JsonSerializerIsReflectionEnabledByDefault>true</JsonSerializerIsReflectionEnabledByDefault>

<NoWarn>$(NoWarn); CS8002</NoWarn>
<SignAssembly>true</SignAssembly>
Expand Down

0 comments on commit ed54f5c

Please sign in to comment.