Skip to content

Conversation

@mereth
Copy link
Contributor

@mereth mereth commented Apr 28, 2024

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

@Erwinvandervalk
Copy link

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!

@RicoSuter RicoSuter merged commit 3cbd586 into RicoSuter:master Jun 12, 2024
@RicoSuter
Copy link
Owner

thanks for the PR.

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.

Private expression-bodied read-only properties should be ignored

3 participants