I'm building a single GraphQL endpoint that has underlying REST services being called from different end points. I was able to execute Query successfully, but for mutation I refer a separate endpoint. How can I incorporate this in my code?
export class VinylAPI extends RESTDataSource {
constructor() {
super();
this.baseURL = 'https://api.whitelabel.com/v2/';
} // I have one more different URL I want to use