Skip to content
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

[FEATURE] Support AOT Trimmed applications #187

Open
2 tasks done
yurvon-screamo opened this issue Mar 8, 2024 · 3 comments
Open
2 tasks done

[FEATURE] Support AOT Trimmed applications #187

yurvon-screamo opened this issue Mar 8, 2024 · 3 comments

Comments

@yurvon-screamo
Copy link
Collaborator

Why do we need this improvement?

Currently, it is not possible to use the library for applications built in aot or with trim enabled.

How will this change help?

Add support for such applications (perhaps not in the full functional scope of the library)

Screenshots

No response

How could it be implemented/designed?

Generate a yml file (or its template) when building the application. At the start of the application, it is slightly mutated according to the environment.

The main thing is to avoid using reflection in runtime.

🚧 Breaking changes

Yes

👀 Have you checked for similar open issues?

  • I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

@yurvon-screamo
Copy link
Collaborator Author

When trying to implement, it turned out that NewtonsoftAsyncApiDocumentSerializer is not able to deserialize))

Therefore, we will have to start with migrating to the lego library

@VisualBean
Copy link
Collaborator

I will start this task very soon, just have a few loose ends to fix up

@yurvon-screamo
Copy link
Collaborator Author

I will start this task very soon, just have a few loose ends to fix up

I thought I'd start today)

Then you'd better do it, because I'm not familiar with the lego library at all.

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

No branches or pull requests

2 participants