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

Remove the usage of reflection to be trim and aot friendly #1465

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

FrozDark
Copy link

@FrozDark FrozDark commented Dec 23, 2024

No direct constructors calls is bad for trim analyzers and they are trimmed out
This PR should allow the trim to keep constructors from trimming

Closes issue: #957

@tonyqus tonyqus added this to the NPOI 2.7.3 milestone Dec 23, 2024
@FrozDark
Copy link
Author

FrozDark commented Dec 23, 2024

@tonyqus Looking through the types of relations I didn't find relations with argument POIXMLDocumentPart parent constructors. Did I miss something or this type of constructor is never used?

upd:
Sorry, missed these XWPFFooter, XWPFHeader, XWPFComments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants