Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Reflection-free compatibility changes #214

Merged

Conversation

RatherLogical
Copy link
Contributor

APIs that use reflection will throw errors at runtime when publishing in AOT's reflection-free mode. I've changed the categoryName param in your logger to use a string instead of reflection. The only downside is that now you have to manually maintain the namespace and class names. This change allows your library to work for my use case, but if there is any other use of reflection in other parts of your lib we can fix that too.

@MichaCo
Copy link
Owner

MichaCo commented Jun 30, 2024

Don't really know why this is needed, feels kinda stupid, but ok why not

@MichaCo MichaCo merged commit 443d1bd into MichaCo:dev Jun 30, 2024
4 checks passed
@RatherLogical RatherLogical deleted the Compatibility-with-AOT-reflection-free-mode branch June 30, 2024 22:08
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants