Closed wilsonpage closed 8 years ago
On the client I'm currently normalizing data into the following structure:
{ url: String, type: String, title: String, description: String, image: String, // large poster image icon: String, embed: Object, data: Object // any type specific data };
Does is make sense to do this on the service side?
I think that was the original idea, also we created the endpoints with a 'raw' option to get everything from the server, or a filtered version by default.
Fixed by #15
On the client I'm currently normalizing data into the following structure:
Does is make sense to do this on the service side?