mercredi 6 mai 2015

Query parameters on ember-data associations

After receiving a response from server A which includes some ids and a query parameter, I want to fetch those ids with that query parameter from server B.

The query parameter is dynamic based on the response from server A so I can't insert a static one in the adapter.

I can't use a nested route because A and B are different servers without shared state.

I haven't been able to figure out how to do this with ember-data associations as they seem to be based only on the id.




Aucun commentaire:

Enregistrer un commentaire