CenterEdge / Yardarm

OpenAPI 3 SDK Generator for C#
Apache License 2.0
44 stars 6 forks source link

Turn on trim and AOT analysis #208

Closed brantburnett closed 1 year ago

brantburnett commented 1 year ago

Motivation

We'd like to catch some cases where our client implementations violate trim or NativeAOT principles more easily.

Modifications

Turn on trim and AOT analysis for STJ and turn on AOT for HTTP ext.

Also fix a missing test attribute.

Results

This won't catch misuse in the generated C# code nor cases that require actual AOT compliation to catch, but should catch some cases of misuse.

brantburnett commented 1 year ago

/merge