CrshOverride / ember-web-api

Ember Data Addon for .NET Web API Endpoints
MIT License
20 stars 12 forks source link

Fix Ember Data 2.* Compatibility #8

Closed CrshOverride closed 9 years ago

CrshOverride commented 9 years ago

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.