To properly format the errors hash as a JSON API errors array, I use the built-in errorsHashToArray method from Ember Data.
I've also addressed an issue with one of the Unit Tests failing. Oddly enough, I haven't seen any issues with the Serializer in my current development application. I still need to verify that the changes to the serializer don't break anything in a production application.
This PR addresses Issue #7.
To properly format the errors hash as a JSON API errors array, I use the built-in
errorsHashToArray
method from Ember Data.I've also addressed an issue with one of the Unit Tests failing. Oddly enough, I haven't seen any issues with the Serializer in my current development application. I still need to verify that the changes to the serializer don't break anything in a production application.