-
Notifications
You must be signed in to change notification settings - Fork 675
DYN-9663 fix missing parameter DataType in NodeDocumentationMarkdownGenerator #17141
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
Merged
jasonstratton
merged 5 commits into
DynamoDS:master
from
johnpierson:DYN-9663-fix-missing-parameter-datatype
Jun 12, 2026
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c544e58
DYN-9663 fix missing parameter DataType in NodeDocumentationMarkdownG…
johnpierson 66d8a37
DYN-9663 fix missing DataType cell in output port table
johnpierson b263399
DYN-9663 use GetInputPortType/GetOutPortType for doc browser type column
johnpierson aa11f5c
DYN-9663 infer NodeModel input port type from DefaultValue when no at…
johnpierson 1afece9
Address node annotation type review feedback
johnpierson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -217,6 +217,14 @@ public class OpenNodeAnnotationEventArgs : OpenDocumentationLinkEventArgs | |
| /// </summary> | ||
| public IEnumerable<string> OutputDescriptions { get; private set; } | ||
| /// <summary> | ||
| /// Collection of the nodes input port types. | ||
| /// </summary> | ||
| public IEnumerable<string> InputTypes { get; private set; } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. does it need to be added to the publid API?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. I think so. both InputTypes.get and OutputTypes.get are new public API |
||
| /// <summary> | ||
| /// Collection of the nodes output port types. | ||
| /// </summary> | ||
| public IEnumerable<string> OutputTypes { get; private set; } | ||
|
johnpierson marked this conversation as resolved.
|
||
| /// <summary> | ||
| /// Collection of the nodes collection of warnings/errors/infos. | ||
| /// </summary> | ||
| public IEnumerable<Info> NodeInfos { get; private set; } | ||
|
|
@@ -247,33 +255,38 @@ private void SetOutputs(NodeModel nodeModel) | |
| { | ||
| var outputNames = new List<string>(); | ||
| var outputDescriptions = new List<string>(); | ||
| var outputTypes = new List<string>(); | ||
|
|
||
| var outputs = nodeModel.OutPorts; | ||
| foreach (var output in outputs) | ||
| { | ||
| outputNames.Add(output.Name); | ||
| outputDescriptions.Add(output.ToolTip); | ||
| outputTypes.Add(output.GetOutPortType() ?? string.Empty); | ||
| } | ||
|
|
||
| OutputNames = outputNames; | ||
| OutputDescriptions = outputDescriptions; | ||
| OutputTypes = outputTypes; | ||
| } | ||
|
|
||
| private void SetInputs(NodeModel nodeModel) | ||
| { | ||
| var inputNames = new List<string>(); | ||
| var inputDescriptions = new List<string>(); | ||
| var inputTypes = new List<string>(); | ||
|
|
||
| var inputs = nodeModel.InPorts; | ||
| foreach (var input in inputs) | ||
| { | ||
| inputNames.Add(input.Name); | ||
| inputDescriptions.Add(input.ToolTip); | ||
| inputTypes.Add(input.GetInputPortType() ?? string.Empty); | ||
| } | ||
|
|
||
| InputNames = inputNames; | ||
| InputDescriptions = inputDescriptions; | ||
|
|
||
| InputTypes = inputTypes; | ||
| } | ||
| } | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
There are tests for GetInputPortType(). Please confirm that they cover the defaults for those cases when the NodeModel omits the InPortType