vt-elixir / ja_resource

A behaviour to reduce boilerplate code in your JSON-API compliant Phoenix controllers without sacrificing flexibility.
Other
113 stars 33 forks source link

Added JaResource.validation_errors type #48

Closed begedin closed 7 years ago

begedin commented 7 years ago

Closes #47

JaResource.Create uses a JaResource.validation_errors type, although this type is nowhere to be found. This PR adds a definition for it as {:error, Ecto.Changeset.t} .

alanpeabody commented 7 years ago

Whoops, thanks!