-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Is support aot? #617
Comments
|
Fluid currently isn't AOT compatible so as types are dynamically accessed the results will be wrong, like you've noticed. |
Oops I didn't notice the flag, thanks @lahma, that's why I was asking myself why the title contains AOT :) |
Has any plan to support aot compile in the feature? |
I started some work around it, but haven't made progress in a year. |
I am currently trying to create a program that interacts with GitLab and other websites through webhook. I want to use Microsoft's' cloud native 'approach. Currently, all components used except for Fluid can be AOT enabled, so I am wondering if Fluid also supports AOT. Thanks |
Would probably require use of source generators and non-trivial amount of work. |
I would try to write object to FluidValue source generation use roslyn, but it will be defined like json serialization such as ignore, deep... I think it will drop the reflection in model use. |
Please draft a PR to demonstrate your ideas 👍🏻 |
I will try to do it |
I try
Result is
These shoes are awesome! 123
, but when I trydotnet publish -c Release -r win-x64 -p:PublishAot=true
, result isThese shoes are awesome!
The text was updated successfully, but these errors were encountered: