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

CompositionRootTypeExtractor does not handle TypeLoadException #580

Open
kemsky opened this issue Dec 1, 2022 · 0 comments
Open

CompositionRootTypeExtractor does not handle TypeLoadException #580

kemsky opened this issue Dec 1, 2022 · 0 comments

Comments

@kemsky
Copy link

kemsky commented Dec 1, 2022

My particular case is related to Telerik reporting components.

Reporting attempts to resolve service IReportServiceConfiguration which leads to CompositionRootTypeExtractor execution, which fails due type load exception. Indeed, some of the types can not be loaded on linux, but it still should be ok.

Is it acceptable to add try/catch and fall back to TypeLoadException.Types?

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

1 participant