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

Obscure exceptions when Value.FromReflection fails #193

Closed
paviad opened this issue Jul 11, 2023 · 1 comment · Fixed by #194
Closed

Obscure exceptions when Value.FromReflection fails #193

paviad opened this issue Jul 11, 2023 · 1 comment · Fixed by #194

Comments

@paviad
Copy link
Contributor

paviad commented Jul 11, 2023

If you provide a context member in the form of Value.FromReflection(obj) and the object contains properties that are incompatible, you get a very obscure exception that hides the real problem point.

I would expect the exception to pinpoint the property that is problematic.

@r3c
Copy link
Owner

r3c commented Jul 13, 2023

Merged & released in v2.0.10, thanks a lot for your contribution! 🙂

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

Successfully merging a pull request may close this issue.

2 participants