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

Add a code analyzer to enforce a safer implementation of the resolver Func in ITypeDataObject APIs #12609

Open
Tanya-Solyanik opened this issue Dec 9, 2024 · 0 comments

Comments

@Tanya-Solyanik
Copy link
Member

1 Warn users against calling Type.GetType from the resolver Func<TypeName, Type> or resolver interface methods.
2. Suggest having a hardcoded set of allowed types to avoid assembly loading and to root types to support trimming in the future

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

No branches or pull requests

1 participant