Skip to content

Refactor expose properties to avoid catching exceptions on private properties of parent classes #206

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

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

Conversation

mfadul24
Copy link

Probably this is a micro optimization of the code.

We have been seen errors in our logs due to the Reflection Exception triggered when trying to access a private property of the parent class. (See screenshot at the end)

This PR should fix that. Also in my tests, it make the code a bit faster.

Feel free to merge it if you see it fits.

Here a screenshot of our logs for more context:

image

@mfadul24 mfadul24 requested a review from a team as a code owner February 20, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant