Skip to content

Comments

Enable AOT compatibility for Yarp.Telemetry.Consumption#2146

Merged
MihaZupan merged 2 commits intodotnet:mainfrom
eerhardt:AotConsumption
May 24, 2023
Merged

Enable AOT compatibility for Yarp.Telemetry.Consumption#2146
MihaZupan merged 2 commits intodotnet:mainfrom
eerhardt:AotConsumption

Conversation

@eerhardt
Copy link
Member

Also fix a simple warning in Yarp.Kubernetes.Controller. The rest of the warnings in this project will be addressed in #2145.

Follow up to #2144 (comment)

Also fix a simple warning in Yarp.Kubernetes.Controller. The rest of the warnings in this project will be addressed in dotnet#2145.
Copy link
Member

@MihaZupan MihaZupan left a comment

Choose a reason for hiding this comment

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

@eerhardt
Copy link
Member Author

Oh wow, nice catch! This is a bug in the analyzer. dotnet/roslyn#68420.

I've fixed the warning and ensured when I publish an app rooting both Yarp assemblies there aren't any warnings from the trimming tool (which is separate from the Roslyn analyzer).

@MihaZupan
Copy link
Member

Thanks!

@MihaZupan MihaZupan enabled auto-merge (squash) May 24, 2023 18:57
@MihaZupan MihaZupan merged commit b9ee824 into dotnet:main May 24, 2023
@eerhardt eerhardt deleted the AotConsumption branch May 24, 2023 19:23
@MihaZupan MihaZupan added this to the YARP 2.x milestone May 25, 2023
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