-
Notifications
You must be signed in to change notification settings - Fork 32
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
Stackoverflow on circular referenced records. #8
Comments
This is actually a bug here. .NET Interactive will handle this correctly because the default formatters will check for recursion correctly. |
This is fixed in version 0.1.30. |
This is actually not fixed for records. The underlying issue here is one with |
@jonsequitur it's more than that. It's not ToString which causes it. Maybe you're calling PrintMembers? Otherwise, here's my output for my lib's records: |
Here's a non-recursive example comparing the formatter to the The formatter output is definitely a little redundant. Let's look at the larger goal of using formatters instead of Take recursive formatting. If you want to format a record with more complex members and those records are of types where you also have custom formatting rules, those will be in effect with the formatter approach: |
First, awesome project!
Second... yes, it's the first thing I tried in it. Here's the repro:
I suspect it's a problem of dotnet/interactive. Should I redirect the issue there?
The text was updated successfully, but these errors were encountered: