slashdotdash / conduit

RealWorld example backend implementing the CQRS/ES pattern in Elixir and Phoenix
MIT License
347 stars 67 forks source link

Conform to validation failure format #19

Closed tt closed 4 years ago

tt commented 5 years ago

The uniqueness middleware produces validation failure errors in a different format than other validations.

This was uncaught as the concurrency test cases didn't have any assertions.

4a4a1172590e009a3f644dc94a70cbe3472223e4 demonstrates the failure. It interestingly only shows a single failure which I suspect is because the actual validations prevented the other test's duplicate registration attempt.

tt commented 4 years ago

@slashdotdash, any interest in merging this?