Hej Ember Community, I want to overwrite the buildURL Function in my JSONAPIAdapter. But i am not sure how to do that.
what i want:
i want to query for something like that:
var backendData = yield myStore.query('aggregatedresponsetimeinfo/info', {limit: this.get('limit')});
the / is the problem here. you only can insert the modelname
then i want to use aggregatedresponsetimeinfo as the model and the url should be like namespace + aggregatedresponsetimeinfo/info
if i overwrite the function
buildURL (modelName, id, snapshot, requestType, query){
console.log(modelName);
console.log(id);
console.log(snapshot);
console.log(requestType);
console.log(query);
return "";
}
how can i call the real buildURL function inside my overwritten buildURL function ?