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

Error path #89

Merged
merged 2 commits into from
Jan 3, 2019
Merged

Error path #89

merged 2 commits into from
Jan 3, 2019

Conversation

vorner
Copy link
Contributor

@vorner vorner commented Dec 30, 2018

This pull requests tries to do something about #83. Unfortunately, that one specific case isn't solved by it, because that error message comes from within serde. Suggestions how to do something about it are welcome.

Though, this might help in some other cases.

Also, it cleans up few little things in the de.rs.

Related to #83, but doesn't solve that specific problem :-(. That
specific error message ("missing field") comes from somewhere else than
this library.
@mehcode
Copy link
Owner

mehcode commented Jan 3, 2019

@vorner This is quite nice. Thank you. I'll merge this because it does improve the current state.


I'm in the middle of a total re-architecture of this library. One of several things being that removing source tracking from the happy path and using DeserializeSeed to pull out an error for a specific path from a specific file in the case of the error path. I really haven't had time to put a ton of work into it but I'll see about pushing it up as a branch. It's very WIP. There a number of things I'm very unhappy with in this library as it currently is.

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.

None yet

2 participants