trampster / JsonSrcGen

Json library that uses .NET 5 Source Generators
MIT License
148 stars 4 forks source link

Extra properties are not always skipped correctly #70

Closed trampster closed 3 years ago

trampster commented 3 years ago

If a property doesn't match anything in the mating switch statement then it isn't skipped.

This can be reproduced by making a class with properties which all have different length. Then adding a property to the json which has a different length.

trampster commented 3 years ago

Fixed