-
Notifications
You must be signed in to change notification settings - Fork 8
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
Directly show inputs and outputs for Services/Topics/Actions #100
Conversation
Signed-off-by: David Oberacker <[email protected]>
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.
Is there any case where we would still want the "normal" In/Outputs of Goal/Request/Response/Result/Feedback?
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.
I think we should implement this for all Interface Types and then do some testing, hard to judge if this is all we need without proper testing
node_inputs[field] = type(getattr(msg, field)) | ||
self.passthrough = False | ||
else: | ||
node_inputs["in"] = self.options["service_type"] |
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.
Does this default make sense? Why would we not fail if the request_type is not a Message Type?
node_outputs[field] = type(getattr(msg, field)) | ||
self.passthrough = False | ||
else: | ||
node_outputs["out"] = self.options["service_type"] |
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.
Same as above
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #100 +/- ##
==========================================
- Coverage 50.92% 46.80% -4.12%
==========================================
Files 58 58
Lines 7348 8915 +1567
Branches 1604 2250 +646
==========================================
+ Hits 3742 4173 +431
- Misses 3540 4626 +1086
- Partials 66 116 +50 ☔ View full report in Codecov by Sentry. |
Services/Topics/Actions get a Request/Response or Message as input or output. This PR changes it so that the fields of the messages are shown directly on the node.