I am not sure why, but I receive trim warning when trying to build AOT with the framework. It seems that they are generated due to using json serializers, and the intended way is to use source generators for that.
Do You think that it is viable to switch to source generator syntax for serializers (it should be an easy task, a matter of one annotated partial method per class) to remove the warnings?