Skip to content
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

Updated DurableClient ThrowIfFunctionDoesNotExist calls to work with correctly when calling a function in another app #1306

Merged
merged 6 commits into from
Apr 10, 2020

Conversation

amdeel
Copy link
Contributor

@amdeel amdeel commented Apr 7, 2020

resolves #1248
related to #1281

Updated ThrowIfDoesNotExist check to only be called if the connectionName matches the connectionName in DurableTaskOptions.StorageProvider. This prevents an exception from being thrown when a user is signaling an entity or starting an orchestrator in another app.

@amdeel amdeel requested review from ConnorMcMahon and cgillum April 7, 2020 18:30
@amdeel amdeel self-assigned this Apr 7, 2020
@amdeel amdeel added this to the v2.2.1 milestone Apr 7, 2020
Copy link
Contributor

@ConnorMcMahon ConnorMcMahon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good for the most part. Just a few nits, nothing individually worth blocking, but would be nice to fix before we merge.

@amdeel amdeel changed the title Updated SignalEntityAsync ThrowIfDoesNotExist to not be called if signaling entity in another app Updated DurableClient ThrowIfFunctionDoesNotExist calls to work with correctly when calling a function in another app Apr 10, 2020
Copy link
Contributor

@ConnorMcMahon ConnorMcMahon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

test/Common/DurableClientBaseTests.cs Show resolved Hide resolved
@amdeel amdeel merged commit df1e28e into dev Apr 10, 2020
@amdeel amdeel deleted the SignalEntityFix1248Two branch April 10, 2020 23:41
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.

Not able to Signal Entity Function using IDurableClient from different Function App
2 participants