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

Overridable create & update callbacks #53

Closed john-griffin closed 7 years ago

john-griffin commented 7 years ago

Adds new callbacks on create and update to allow for overriding of responses to errors and success. Default behaviour works as before. As discussed in #30.

alanpeabody commented 7 years ago

Looks good!

john-griffin commented 7 years ago

@alanpeabody create/update response callbacks landed with tests.

alanpeabody commented 7 years ago

@john-griffin awesome, looks great! Thank you so much! 🎉