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

Package for isolated workers use in-process nuget packages #681

Open
KondzioSSJ4 opened this issue Jan 12, 2025 · 0 comments
Open

Package for isolated workers use in-process nuget packages #681

KondzioSSJ4 opened this issue Jan 12, 2025 · 0 comments

Comments

@KondzioSSJ4
Copy link

Describe the issue

When I tried to add OpenAPI for isolated workers (Microsoft.Azure.Functions.Worker.Extensions.OpenApi version 1.5.1)
that package had reference to Microsoft.Azure.WebJobs.Extensions.OpenApi.Core
and this one have references to:

Microsoft.Azure.WebJobs.Extensions.Http
Microsoft.Azure.WebJobs.Extensions.OpenApi.Configuration.AppSettings

They are packages to in-process workers, and should not be used for isolated workers.
The issue also provide miss used attributes, that should be use from isolated workers, but it's taken a in-process

To Reproduce
Just add Microsoft.Azure.Functions.Worker.Extensions.OpenApi into your project

Expected behavior
OpenAPI should not use references from different type of the applications
so isolated workers should only used isolated packages (Microsoft.Azure.Functions.Worker.*)
and in-process workers should only use in-process packages (Microsoft.Azure.WebJobs.*)

Screenshots

Image

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

No branches or pull requests

1 participant