-
-
Notifications
You must be signed in to change notification settings - Fork 49
Closed as not planned
Closed as not planned
Copy link
Description
Using a blob function with an output binding to service bus, I'm receiving the following error:
Error compiling function: BlobFnTest.cs(48,37): error CS0103
The name 'pluginFunctions' does not exist in the current context
I'm utilizing the MediatR implementation.
The following code should reproduce the error.
Command:
public class TestCommand : IRequest<string>, IStreamCommand
{
public Stream Stream { get; set; } = Stream.Null;
public string? Name { get; set; }
}Handler:
internal class TestHandler : IRequestHandler<TestCommand, string>
{
public Task<string> Handle(TestCommand command, CancellationToken ct)
{
return Task.FromResult("test");
}
}Configuration:
.Storage(builder => builder
.BlobFunction<TestCommand>("test-container/{name}")
.OutputTo.ServiceBusTopic("test-topic"))Packages Extensions:
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.ServiceBus" Version="4.0.0" />
<PackageReference Include="Microsoft.Azure.WebJobs.Extensions.Storage" Version="3.0.10" />Function Monkey Version: 4.0.56-beta.4
Dotnet Version: 3.1
Azure Function Core Tools Version: 3.0.2106
Editor: VSCode
OS: Mac
Metadata
Metadata
Assignees
Labels
No labels