Skip to content

Fix ShoppingOrchestration sample and make input optional to callEntity #268

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
merged 2 commits into from
Jun 24, 2021

Conversation

davidmrdavid
Copy link
Collaborator

Previously, the ShoppingOrchestration sample included generic typing of its callEntity invocations. This wouldn't compile, since no orchestration APIs use generic typing yet. It was probably a leftover from an earlier draft of this PR.

This PR removes the generic typing.

Furthermore, I realized that the input parameter to callEntity was previously mandatory, which is awkward because not all calls to callEntity necessitate an input. I suspect some of our users might have been forced to pass in null or undefined values in the past, or some other kind of default to get around it.

This PR makes the input parameter to callEntity to be optional.

@davidmrdavid davidmrdavid merged commit 11b501b into dev Jun 24, 2021
@davidmrdavid davidmrdavid deleted the dajusto/fix-shopping-orchestration-sample branch June 24, 2021 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants