from the expedia samples is very boilerplatey. Here I am wondering how would you inject dependencies into each of the services as objects are constructed on plugin initialization rather than a per-request basis; unless you'd shove that into the context map factory
Miquel Àngel Román
06/16/2022, 11:53 AM
I'd like to mention that the playground has been replaced by the more modern "studio.apollographql.com" which we can simply redirect with:
call.respondRedirect
for those that are allowed to use a third-party client rather than something that needs to be hosted on the same machine. This also involves some CORS handling
Miquel Àngel Román
06/17/2022, 9:47 AM
Actually nevermind on the DI. That should be handled through the GQL Context and you're providing a nice lambda for that ✅