Closed mereth closed 2 months ago
The SystemTextJsonReflectionService didn't properly handle when a setter (or getter) was missing. As a result read-only private properties and read-only static properties were not ignored when building type schema via reflection.
SystemTextJsonReflectionService
Fixes #1694
I just ran into the same problem and wanted to raise the same PR as a fix :) Nice job! Hope it get's merged soon!
thanks for the PR.
The
SystemTextJsonReflectionService
didn't properly handle when a setter (or getter) was missing. As a result read-only private properties and read-only static properties were not ignored when building type schema via reflection.Fixes #1694