Azure / Azure/azure-functions-dotnet-worker

[AOT] Input converter creation code gets trimmed

Open
#1,054 0 comments 0 reactions 0 assignees View on GitHub
team-issue
Dominant language
C#
Stars
466
Forks
215
Avg merge
3d 10h
Merged PRs (30d)
7

Description

We create the converter instance when it is [requested for the first time ](https://github.com/Azure/azure-functions-dotnet-worker/blob/main/src/DotNetWorker.Core/Converters/Converter/DefaultInputConverterProvider.cs#L51)(at runtime). This code gets trimmed with AOT publishing.

https://github.com/Azure/azure-functions-dotnet-worker/blob/1da3c27d3b24e648a20356fb3180abfcdc7f6cff/src/DotNetWorker.Core/Converters/Converter/DefaultInputConverterProvider.cs#L49-L54

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in src/DotNetWorker.Core/Converters/Converter/DefaultInputConverterProvider.cs at lines 49-54 and inspect how the converter instance is created on first request. Reproduce or verify the behavior with an AOT-published worker; done when the required converter creation code is retained and works at runtime.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.