-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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 DebugView for Array and Dictionary, based of the DebugView from the .NET Foundation #90060
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, thanks.
Not sure what to do about the MIT license header. cc @akien-mga
What's the actual source for this DebugView.cs file? The versions I found on Google all only have "All rights reserved." but seem to be older versions. To be fair, the code is so simple that I'm not even sure this falls under copyright, it's literally just declaring 3 simple classes to fit an interface, and APIs are not copyrightable. Dotnet code includes these two lines of license statement in all files for consistency (like we do), but in this case there isn't much to cover. C# is verbose but technically it's barely 30 lines of actual code, most of which are actually specific to Godot (using our own implementations of So all in all I don't think that file needs to be encumbered with a specific license/copyright statement, it could be considered Godot code. |
The source of this debug view is the .net runtime, debug view is : |
217ab8b
to
f8c482b
Compare
I force pushed to divide the commit in two and change the indentation. |
Thanks for the links! I think this is trivial enough to not require attribution, so I think we can drop the second commit. |
d7fb9a3
to
f8c482b
Compare
Ok, i drop it |
Thanks! And congrats for your first merged Godot contribution 🎉 |
I am working on reimplementing the debug view for the C# runtime. Initially, I was creating a new debug view. Then, I incorporate the debug view from the .NET Foundation. This approach ensures consistency between the C# runtime’s enumerable and the GODOT enumerable.
This is why the comment of MIT license of the .net Foundation.