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

Add ToString methods #437

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Add ToString methods #437

wants to merge 2 commits into from

Conversation

trumully
Copy link
Contributor

@trumully trumully commented May 14, 2024

This adds tests for the feature originally authored in #417. Let me know if you want any of these tweaked.

Also made some tweaks to the runner versions as macos was missing dependencies that your CI needed.

Latest macos runner had missing dependencies for testing, macos-12 still has these.
@jamescourtney
Copy link
Owner

Thank you for the contribution here. The change looks reasonable. However, since FlatSharp generates all classes as Partial, I'd like to find a way to make this an optional (opt-out?) behavior. It's conceivable that there are people who have defined their own partial classes with their own ToString implementations, and I'd prefer not to break them if I can avoid it.

@trumully
Copy link
Contributor Author

trumully commented Jun 9, 2024

Maybe we could go about that with an opt-in or opt-out flag in the command-line? Unless there is another avenue for a more suitable solution.

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.

None yet

2 participants