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

Remove the short form for tasks #82

Merged
merged 1 commit into from
May 4, 2019
Merged

Conversation

stepchowfun
Copy link
Owner

Remove the short form for tasks. I hate to do this, but Serde's error messages for sum types are unacceptably useless:

$ bake
[ERROR] Unable to parse file `bake.yml`. Details: tasks: data did not match any variant of untagged enum
        RawTask at line 3 column 11

This message gives no information about why none of the variants matched, and also I don't want user-facing error messages referring to internal identifiers from the source code. Maybe one day I can invest in contributing an upstream fix. But that day is not today.

See serde-rs/serde#773.

@stepchowfun stepchowfun merged commit 8421581 into master May 4, 2019
@stepchowfun stepchowfun deleted the remove-task-shorthand branch May 4, 2019 10:14
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

1 participant