You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
Basically, Ember's RESTAdapter expects the JSON from the server to contain a root object that is the same name as the model. I'm unsure how to modify your API example to accommodate this requirement. (I'm new to Go.) Maybe changing the functions that pull the data, e.g., GetAll(), is the easiest, as opposed to monkeying with the encoder? I think there will be additional types/models in the future so it seems like the encoders should be as generic as possible.