Skip to content

[ToString] include inherited fields/properties #64

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
sean-krail opened this issue Apr 3, 2025 · 1 comment
Open

[ToString] include inherited fields/properties #64

sean-krail opened this issue Apr 3, 2025 · 1 comment

Comments

@sean-krail
Copy link

Is your feature request related to a problem? Please describe.
I expected the generated ToString to include its inherited properties from an abstract class.

Describe the solution you'd like
ToString walks down its inheritance tree and includes all fields/properties (or at least make this behavior a configurable flag).

Describe alternatives you've considered
Leave as-is, ToString doesn't log all of the object's public properties.

Additional context
N/A

@CollinAlpert
Copy link
Owner

Hey, this seems reasonable. Unfortunately I don't have the time to implement this anytime soon. Maybe in a few weeks/months.

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

No branches or pull requests

2 participants