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

Throws a descriptive error when Arbor fails to find the type #139

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

gbmoretti
Copy link
Contributor

When Arbor fails to find the correct type to deserialize, it silently creates a plain JS object. This can confuse developers.

This PR makes Arbor throw a descriptive exception when this happens.

Copy link

codesandbox bot commented Nov 1, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Owner

@drborges drborges left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! This should help make the expected behavior a lot more clear to developers.

@drborges drborges merged commit 42b9f3b into drborges:main Nov 1, 2024
2 checks passed
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 this pull request may close these issues.

2 participants