-
Notifications
You must be signed in to change notification settings - Fork 638
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
[DYN-2870] Increase the code coverage: DynamoCore/Graph Folder #10860
[DYN-2870] Increase the code coverage: DynamoCore/Graph Folder #10860
Conversation
@DynamoDS/dynamo any comments? I think this is safe to remove since we are no longer serializing the whole workspace using XML. We still preserve the node serialization logic using XML for undo/redo which is un touched. |
unfortunately ... removing a protected member from a public class probably constitutes an API change? Maybe not a break... - If some client inherited from this class, and used that method, it will now call the base class right and behavior will be significantly different? |
always good to read this again: I don't see protected members called out specifically... |
How about this
From https://docs.microsoft.com/en-us/dotnet/core/compatibility/. I guess removing is part of reducing visibility of protected member? I really would like to remove it :( |
well... does removing it count as lowering its visibility 😉 ? |
@mjkkirschner So obsoletion then? |
that would be the safe bet. |
@Astul-Betizagasti Can you obsolete these methods then, their should be plenty example in the code base about obsolete messaging. Sorry about the back and forth. |
This reverts commit c78dfe9.
Ok, no problem I'll change it. Should I add a message on the Obsolete attribute or there is no need? Edit: my browser had not refreshed and I didn't see you previous message |
I dont think there is a replacement on workspace model.. We can append use |
@@ -1499,6 +1499,7 @@ internal bool containsInvalidInputSymbols() | |||
return this.Nodes.OfType<Nodes.CustomNodes.Symbol>().Any(node => !node.Parameter.NameIsValid); | |||
} | |||
|
|||
[Obsolete("Method will be deprecated in Dynamo 3.0.")] | |||
private void SerializeElementResolver(XmlDocument xmlDoc) |
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.
Why can't we remove this right away?
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.
@Astul-Betizagasti For private functions we should be able to remove any time. unlike protected and public ones
Purpose
Remove unused code in the Workspaces sub folder
Declarations
Check these if you believe they are true
*.resx
filesReviewers
Aaron Tang (@QilongTang )
Michael Kirschner (@mjkkirschner )
FYIs
Aldredo Pozo (@alfredo-pozo )