Skip to content
Prev Previous commit
Next Next commit
Update docs/core/compatibility/serialization/7.0/reflection-fallback.md
Co-authored-by: Genevieve Warren <[email protected]>
  • Loading branch information
eiriktsarpalis and gewarren authored Sep 16, 2022
commit 70f397d1cf850b4b057761778a996e88554cfba9
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public partial class MyContext : JsonSerializerContext {}

This will let your application take full advantage of the benefits of source generation, including trim safety.

In certain cases however, making such a change might not be practical or possible. Even though it is not recommended, there a couple of ways you can re-enable reflection fallback in your source generated serializer.
In certain cases, however, making such a change might not be practical or possible. Even though it's not recommended, there are a couple of ways you can re-enable reflection fallback in your source-generated serializer.

### Using a custom contract resolver

Expand Down