Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SystemTextJson read only properties handling #1697

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mereth
Copy link

@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

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
1 participant