Skip to content

Unhelpful TODO output from decoder failure #25

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

Closed
Janiczek opened this issue Jul 17, 2019 · 1 comment · Fixed by #27
Closed

Unhelpful TODO output from decoder failure #25

Janiczek opened this issue Jul 17, 2019 · 1 comment · Fixed by #27

Comments

@Janiczek
Copy link

We've hit this in our app:

https://ellie-app.com/66WPxcDYHDHa1

Json.Decode.decodeString Iso8601.decoder "\"2010-09-31T14:29:25.01235Z\""
--> Err (Failure "TODO deadEndsToString" <internals>)

That message originates in elm/parser, and the best way forwards would probably be for elm/parser to either implement it or stop exposing it, but right now it's probably on the users of elm/parser to not use it and instead provide their own implementation.

@rtfeldman
Copy link
Owner

Fixed in 1.1.4 thanks to @jamesrweb's PR!

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