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

Use Xor instead of Validated in the main interface #16

Merged
merged 2 commits into from
Apr 20, 2016
Merged

Use Xor instead of Validated in the main interface #16

merged 2 commits into from
Apr 20, 2016

Conversation

philwills
Copy link
Contributor

Whilst we want to accumulate errors when hydrating case classes, we don't need this behaviour generally. Xor is slightly more familiar and we don't need a list of errors.

Philip Wills added 2 commits April 18, 2016 22:45
The Semigroup for DynamoReadError seems sketchy, but I'd rather simplify the interface then work on the internals
Errors are accumulated within the custom error type when generating an instance for a case class, but they don't need to be for anything else
@philwills philwills merged commit 99826d4 into master Apr 20, 2016
@philwills philwills deleted the xor branch April 20, 2016 18:35
@philwills philwills modified the milestone: 0.4.0 Apr 29, 2016
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.

1 participant